[PATCH] util: fix build on systems missing strndupa

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux