projects
/
project
/
fstools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2aeba88
)
blockd: add missing #define _GNU_SOURCE
author
Daniel Golle
<daniel@makrotopia.org>
Sun, 16 May 2021 08:49:24 +0000
(09:49 +0100)
committer
Daniel Golle
<daniel@makrotopia.org>
Sun, 16 May 2021 08:49:24 +0000
(09:49 +0100)
asprintf requires _GNU_SOURCE to be defined. Set it.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
blockd.c
patch
|
blob
|
history
diff --git
a/blockd.c
b/blockd.c
index f2db7b4d146e5f83248406db64a6607c8f15f699..d6dfeb8ff0ad590f8b44925d5375a9863065bfb0 100644
(file)
--- 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>