about summary refs log tree commit diff
path: root/src/libutil/archive.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-16T14·32+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-16T14·32+0200
commit2304a7dd21639959dc4bcafa3e17374cc087cd0a (patch)
tree6ea5bad5b703e22c8e6921d0b5e1565ca686026f /src/libutil/archive.cc
parent985f1595fe9f61095c7bc94b49be1179811ec630 (diff)
Get rid of a compiler warning
Diffstat (limited to 'src/libutil/archive.cc')
-rw-r--r--src/libutil/archive.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libutil/archive.cc b/src/libutil/archive.cc
index 9dc2ebeeb9cb..00c9ae3c7c4c 100644
--- a/src/libutil/archive.cc
+++ b/src/libutil/archive.cc
@@ -1,3 +1,5 @@
+#define _XOPEN_SOURCE 600
+
 #include "config.h"
 
 #include <cerrno>
@@ -6,7 +8,6 @@
 #include <map>
 #include <cstring>
 
-#define _XOPEN_SOURCE 600
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>