mirror of
https://github.com/davatorium/rofi.git
synced 2025-02-10 15:44:41 -05:00
Add patches from BSD (hopefully ok?)
This commit is contained in:
parent
dfcfd7b26c
commit
d60f6701de
2 changed files with 11 additions and 0 deletions
|
@ -35,6 +35,7 @@
|
|||
#include <fcntl.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/stat.h>
|
||||
#include "helper.h"
|
||||
#include "rofi.h"
|
||||
|
||||
|
|
|
@ -36,7 +36,17 @@
|
|||
#include <X11/X.h>
|
||||
#include <X11/Xlib.h>
|
||||
#include <sys/socket.h>
|
||||
/* Check linux or BSD */
|
||||
#if defined(__linux__)
|
||||
#include <linux/un.h>
|
||||
#else
|
||||
#if defined(__unix__)
|
||||
#include <sys/param.h>
|
||||
#if defined(BSD)
|
||||
#include <sys/un.h>
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "rofi.h"
|
||||
#include "x11-helper.h"
|
||||
|
|
Loading…
Add table
Reference in a new issue