diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/compat.c | 4 | ||||
-rw-r--r-- | common/test-message.c | 1 |
2 files changed, 5 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" diff --git a/common/test-message.c b/common/test-message.c index 63ecf31..7dd5426 100644 --- a/common/test-message.c +++ b/common/test-message.c @@ -39,6 +39,7 @@ #include <errno.h> #include <stdlib.h> +#include <stdio.h> static void test_with_err (void) |