]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
util: fix build on systems missing strndupa
authorNatanael Copa <ncopa@alpinelinux.org>
Mon, 17 Nov 2014 08:36:29 +0000 (09:36 +0100)
committerLucas De Marchi <lucas.demarchi@intel.com>
Mon, 17 Nov 2014 15:00:19 +0000 (13:00 -0200)
we need include shared/missing.h to be able to compile on sysmtes that
lacks strndupa.

shared/util.c

index 855d4e428e44403b38fafb7f00d84dee612e5fbd..23bbb26a0961c95a99359134c808d2ba8931cdd8 100644 (file)
@@ -30,6 +30,7 @@
 #include <string.h>
 #include <unistd.h>
 
+#include <shared/missing.h>
 #include <shared/util.h>
 
 #define USEC_PER_SEC  1000000ULL