summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2021-05-16 09:49:24 +0100
committerDaniel Golle <daniel@makrotopia.org>2021-05-16 09:49:24 +0100
commit3d40a1b591cd569f95891116cd033b496de0f92b (patch)
tree8eb20f7eff3216c1a2894d3c72b2867b9cb6a23c
parent2aeba8876ae75f4492093bd06b3a7c2b65805541 (diff)
downloadfstools-3d40a1b591cd569f95891116cd033b496de0f92b.tar.gz
blockd: add missing #define _GNU_SOURCE
asprintf requires _GNU_SOURCE to be defined. Set it. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
-rw-r--r--blockd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/blockd.c b/blockd.c
index f2db7b4..d6dfeb8 100644
--- a/blockd.c
+++ b/blockd.c
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
#include <sys/stat.h>
#include <sys/mount.h>
#include <sys/wait.h>