about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-02-07 09:33:37 +0000
committerEric Wong <normalperson@yhbt.net>2013-02-07 09:59:24 +0000
commit9510a1d244e22725e2710d04571e3d6fbf89b0e8 (patch)
treea3b854cdc112570cb6d8823e67d2885698e650be
parent26432ee7d0cf7f94fdc62804611cdbc7c5ec960c (diff)
downloadcmogstored-9510a1d244e22725e2710d04571e3d6fbf89b0e8.tar.gz
error.h is available on GNU/Linux (and presumably GNU/kFreeBSD
and GNU/Hurd, so favor that system-wide header over the gnulib
one.
-rw-r--r--cmogstored.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmogstored.h b/cmogstored.h
index ac7823f..1b3d1be 100644
--- a/cmogstored.h
+++ b/cmogstored.h
@@ -44,6 +44,7 @@
 #include <time.h>
 #include <argp.h>
 #include <sched.h>
+#include <error.h> /* GNU */
 #include "bsd/queue_safe.h"
 #include "bsd/simpleq.h"
 
@@ -58,7 +59,6 @@
 #include "base64.h"
 #include "minmax.h"
 #include "gc.h"
-#include "error.h"
 #include "nproc.h"
 
 #include "gcc.h"