summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRALOVICH, Kristof <tade60@freemail.hu>2014-03-27 09:50:27 +0100
committerRALOVICH, Kristof <tade60@freemail.hu>2014-03-27 09:50:27 +0100
commit44ec33fc12a0b78e79998eec2ca66eb5ac1fd942 (patch)
treeef3758670c2f03d8d4152b2017379853d92d79c0
parentbf990a5e81f2af5c33583cc500eb655ad1bf173d (diff)
gant: try fixing FTBFS under hurd-i386
> /«PKGBUILDDIR»/src/gant/antlib.c:415:73: error: 'IUCLC' undeclared (first use in this function)
-rw-r--r--src/gant/antlib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gant/antlib.c b/src/gant/antlib.c
index 8fdcd8f..8b3c58d 100644
--- a/src/gant/antlib.c
+++ b/src/gant/antlib.c
@@ -3,6 +3,9 @@
#define _XOPEN_SOURCE 500
#define _BSD_SOURCE
+#if defined(__GNU__) /* Hurd */
+# define _GNU_SOURCE
+#endif
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>