projects
/
oweals
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fd57dd
)
preinit: define _GNU_SOURCE
author
Hans Dedecker
<dedeckeh@gmail.com>
Fri, 16 Jun 2017 14:09:01 +0000
(16:09 +0200)
committer
Daniel Golle
<daniel@makrotopia.org>
Tue, 20 Jun 2017 14:48:43 +0000
(16:48 +0200)
In uClibc getdelim is only defined if _GNU_SOURCE is defined; fix
compilation issue by defining _GNU_SOURCE
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
initd/preinit.c
patch
|
blob
|
history
diff --git
a/initd/preinit.c
b/initd/preinit.c
index 729978ea2f2af790653baaee5ae788f05a88a177..427fa758f4433bb271c0d754d8628d96ec537f9e 100644
(file)
--- a/
initd/preinit.c
+++ b/
initd/preinit.c
@@
-11,6
+11,7
@@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
+#define _GNU_SOURCE
#include <sys/stat.h>
#include <sys/types.h>