summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Williams <nico@cryptonector.com>2015-01-01 15:15:10 -0600
committerNicolas Williams <nico@cryptonector.com>2015-01-01 15:15:10 -0600
commit902aa39fce4cc036333bb7c7a935c33e8d7314a3 (patch)
tree359bd558c6479e88ece331073101aca4d6fe1d24
parent22f55aa585da673abe76cf400c4cc2e77ecfb4df (diff)
Fix warning in util.cjq-1.5rc1
-rw-r--r--util.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/util.c b/util.c
index 9dec89b4..33ee07f6 100644
--- a/util.c
+++ b/util.c
@@ -1,19 +1,19 @@
+#ifdef HAVE_MEMMEM
+#define _GNU_SOURCE
+#endif
+
#include <sys/types.h>
#include <sys/stat.h>
#include <assert.h>
#include <fcntl.h>
-
-#ifdef HAVE_MEMMEM
-#define _GNU_SOURCE
+#include <limits.h>
#include <string.h>
-#endif
+#include <stdlib.h>
+#include <unistd.h>
#ifndef WIN32
#include <pwd.h>
#endif
-#include <stdlib.h>
-#include <unistd.h>
-#include <limits.h>
#include "util.h"