summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-10-06 15:31:34 -0400
committerJakob Kaivo <jkk@ung.org>2020-10-06 15:31:34 -0400
commitca6b82f8d3a8cd96c389771bc34585b5a3a2f483 (patch)
tree97b624721024c68aaf56e3d4542e42633c822785
parent01cf390a1ffeffe83b67336de2889118c5f506d5 (diff)
add missing #define
-rw-r--r--getopt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/getopt.c b/getopt.c
index 5f6baaa..2f1d355 100644
--- a/getopt.c
+++ b/getopt.c
@@ -1,3 +1,4 @@
+#define _POSIX_C_SOURCE 2
#include <sys/types.h>
#include <string.h>
#include <stdio.h>