summaryrefslogtreecommitdiff
path: root/src/prot.c
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-08 13:24:39 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-08 13:24:39 +0200
commit973ae30e7c4f7a1afb385dd3d8eeea178f981445 (patch)
tree1a5d8be5b3ff273a141b6144bf3031b1bc3deb2d /src/prot.c
parent66404f0bfbd78e635ff6381ca30b25157e0e1a09 (diff)
fix deprecated prototypes
Diffstat (limited to 'src/prot.c')
-rw-r--r--src/prot.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/prot.c b/src/prot.c
index aa685c4..6a15d2e 100644
--- a/src/prot.c
+++ b/src/prot.c
@@ -1,6 +1,13 @@
#include "prot.h"
-#include "hasshsgr.h"
+#include <grp.h>
+#include <unistd.h>
+
+#ifdef USE_CONFIG
+ #include "fehsqm-config.h"
+#else
+ #include "hasshsgr.h"
+#endif
/* XXX: there are more portability problems here waiting to leap out at me */