summaryrefslogtreecommitdiff
path: root/src/settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.c')
-rw-r--r--src/settings.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/settings.c b/src/settings.c
index 7b46df3..cae4c8e 100644
--- a/src/settings.c
+++ b/src/settings.c
@@ -23,8 +23,10 @@ THE SOFTWARE.
/* application settings */
+#ifndef __FreeBSD__
#define _POSIX_C_SOURCE 1 /* PATH_MAX */
#define _BSD_SOURCE /* strdup() */
+#endif
#include <string.h>
#include <stdlib.h>