summaryrefslogtreecommitdiff
path: root/src/misc/getopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/getopt.c')
-rw-r--r--src/misc/getopt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/misc/getopt.c b/src/misc/getopt.c
index 864d52cd..c3f66995 100644
--- a/src/misc/getopt.c
+++ b/src/misc/getopt.c
@@ -1,3 +1,4 @@
+#define _BSD_SOURCE
#include <unistd.h>
#include <wchar.h>
#include <string.h>