Thread (2 messages) 2 messages, 2 authors, 2014-11-17

[PATCH] util: fix build on systems missing strndupa

STALE4337d

From: Natanael Copa <hidden>
Date: 2014-11-17 08:42:57
Subsystem: the rest · Maintainer: Linus Torvalds

we need include shared/missing.h to be able to compile on sysmtes that
lacks strndupa.
---
 shared/util.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/shared/util.c b/shared/util.c
index 855d4e4..4b92cbf 100644
--- a/shared/util.c
+++ b/shared/util.c
@@ -31,6 +31,7 @@
 #include <unistd.h>
 
 #include <shared/util.h>
+#include <shared/missing.h>
 
 #define USEC_PER_SEC  1000000ULL
 #define NSEC_PER_USEC 1000ULL
-- 
2.1.3
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help