aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-09-05 14:03:46 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-09-05 14:03:46 +0200
commitdfcb53dc0ff8e7f38b30d12297fc58e03405bb4b (patch)
tree9cc9434047c8fb79e1343f059350e8a95091e7ad
parent86b5b5c6aa8c3eb4b14472e3ad842e07bd6eda36 (diff)
downloadmblaze-dfcb53dc0ff8e7f38b30d12297fc58e03405bb4b.tar.gz
mpick: shuffle for OpenBSD/FreeBSD
-rw-r--r--mpick.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mpick.c b/mpick.c
index e024e27..2ac5e49 100644
--- a/mpick.c
+++ b/mpick.c
@@ -1,5 +1,8 @@
-// FNM_CASEFOLD, strptime
+// FNM_CASEFOLD
#define _GNU_SOURCE
+#include <fnmatch.h>
+
+// strptime
#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE 700
#endif
@@ -27,7 +30,6 @@
#include <locale.h>
#include <limits.h>
#include <regex.h>
-#include <fnmatch.h>
#include "blaze822.h"