aboutsummaryrefslogtreecommitdiff
path: root/sdn.cpp
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2024-12-21 07:59:44 +0100
committerPřemysl Eric Janouch <p@janouch.name>2024-12-21 07:59:44 +0100
commitc9b003735df3a2dcd65e89a19c174f1dac4aeb23 (patch)
treeea95b4255ae6af5445a7b47a5aebf582743f9300 /sdn.cpp
parent52a28f01c8dc2a1a257e7f3d49ca2e35574edf06 (diff)
downloadsdn-c9b003735df3a2dcd65e89a19c174f1dac4aeb23.tar.gz
sdn-c9b003735df3a2dcd65e89a19c174f1dac4aeb23.tar.xz
sdn-c9b003735df3a2dcd65e89a19c174f1dac4aeb23.zip
Fix OpenBSD build
Diffstat (limited to 'sdn.cpp')
-rw-r--r--sdn.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/sdn.cpp b/sdn.cpp
index 4e2a1ab..07f56a2 100644
--- a/sdn.cpp
+++ b/sdn.cpp
@@ -39,22 +39,22 @@
#include <libgen.h>
#include <pwd.h>
#include <signal.h>
-#include <sys/acl.h>
#include <sys/stat.h>
#include <sys/types.h>
+#include <sys/wait.h>
#include <time.h>
#include <unistd.h>
#ifdef __linux__
-#include <acl/libacl.h>
#include <sys/inotify.h>
+// ACL information is not important enough to be ported
+#include <acl/libacl.h>
+#include <sys/acl.h>
+#include <sys/xattr.h>
#else
#include <sys/event.h>
#endif
#include <ncurses.h>
-#include <sys/types.h>
-#include <sys/wait.h>
-#include <sys/xattr.h>
// To implement cbreak() with disabled ^S that gets reënabled on endwin()
#define NCURSES_INTERNALS