projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10c7565
)
define _GNU_SOURCE and include stdio.h in ubus.c to fix a compile error
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 12 Oct 2011 14:16:28 +0000
(16:16 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 12 Oct 2011 14:16:28 +0000
(16:16 +0200)
ubus.c
patch
|
blob
|
history
diff --git
a/ubus.c
b/ubus.c
index c9b10e8d7b43a577dc612468600baaecb958d9ff..ba9fb9e3bd75c789340583c5ab0b4f6184577425 100644
(file)
--- a/
ubus.c
+++ b/
ubus.c
@@
-1,4
+1,7
@@
+#define _GNU_SOURCE
+
#include <string.h>
+#include <stdio.h>
#include "netifd.h"
#include "interface.h"