aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--minilogd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/minilogd.c b/minilogd.c
index becfc94..971fcb3 100644
--- a/minilogd.c
+++ b/minilogd.c
@@ -13,7 +13,9 @@
#include <string.h>
#include <strings.h>
#include <syslog.h>
-#define __USE_BSD
+#ifndef __USE_BSD
+# define __USE_BSD
+#endif
#include <unistd.h>
#include <sys/poll.h>