summaryrefslogtreecommitdiffstats
path: root/bin/ykfde.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ykfde.c')
-rw-r--r--bin/ykfde.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/ykfde.c b/bin/ykfde.c
index 182f840..663d198 100644
--- a/bin/ykfde.c
+++ b/bin/ykfde.c
@@ -8,8 +8,11 @@
* $ gcc -o ykfde ykfde.c -lykpers-1 -lyubikey -lcryptsetup -liniparser
*/
-#ifndef _DEFAULT_SOURCE
-#define _DEFAULT_SOURCE
+#ifndef _XOPEN_SOURCE
+# define _XOPEN_SOURCE
+# ifndef _XOPEN_SOURCE_EXTENDED
+# define _XOPEN_SOURCE_EXTENDED
+# endif
#endif
#include <fcntl.h>