summaryrefslogtreecommitdiff
path: root/common/compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/compat.c')
-rw-r--r--common/compat.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/compat.c b/common/compat.c
index 627411e..1255b0e 100644
--- a/common/compat.c
+++ b/common/compat.c
@@ -40,6 +40,10 @@
*/
#define _XOPEN_SOURCE 700
+#if defined(HAVE_ISSETUGID) && defined(__FreeBSD__)
+#define __BSD_VISIBLE 1
+#endif
+
#include "compat.h"
#include "debug.h"