summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-08-13 12:50:59 -0500
committerNatanael Copa <ncopa@alpinelinux.org>2017-09-19 12:02:57 +0000
commitc1a106cc6ce776a799b842f4cbe9272782f6c565 (patch)
tree6f5cb5a0c8d1631cb99bb4b6bd6a28cde42989ad
parentf1faef7868a0f31f516889f56b69bf59cddc14d1 (diff)
downloadabuild-c1a106cc6ce776a799b842f4cbe9272782f6c565.tar.gz
abuild-c1a106cc6ce776a799b842f4cbe9272782f6c565.tar.bz2
abuild-c1a106cc6ce776a799b842f4cbe9272782f6c565.tar.xz
abuild-c1a106cc6ce776a799b842f4cbe9272782f6c565.zip
abuild-rmtemp: define _XOPEN_SOURCE to ensure FTW_DEPTH is visible
-rw-r--r--abuild-rmtemp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/abuild-rmtemp.c b/abuild-rmtemp.c
index 36a12ec..1fca31c 100644
--- a/abuild-rmtemp.c
+++ b/abuild-rmtemp.c
@@ -4,6 +4,7 @@
* Distributed under GPL-2
*/
+#define _XOPEN_SOURCE 700
#include <err.h>
#include <errno.h>
#include <ftw.h>