summaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index 63ea756..42e3d98 100644
--- a/util.c
+++ b/util.c
@@ -237,7 +237,7 @@ int xfaccessat(int fd, const char *path, int amode) {
}
int xstrtofflags(const char **str, unsigned long long *set, unsigned long long *clear) {
-#if BSD
+#if BSD && !__GNU__
char *str_arg = (char *)*str;
unsigned long set_arg = 0;
unsigned long clear_arg = 0;