guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

63/118: Get rid of a compiler warning


From: Ludovic Courtès
Subject: 63/118: Get rid of a compiler warning
Date: Tue, 19 May 2015 14:45:41 +0000

civodul pushed a commit to branch nix
in repository guix.

commit 2304a7dd21639959dc4bcafa3e17374cc087cd0a
Author: Eelco Dolstra <address@hidden>
Date:   Wed Jul 16 16:32:26 2014 +0200

    Get rid of a compiler warning
---
 src/libutil/archive.cc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/libutil/archive.cc b/src/libutil/archive.cc
index 9dc2ebe..00c9ae3 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>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]