summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-11-17 09:36:29 +0100
committerLucas De Marchi <lucas.demarchi@intel.com>2014-11-17 13:00:19 -0200
commitefb5bfaca938fa5991865c1e9a0c730dc919708c (patch)
tree606a082f54249ef9e7c02cfb6ecb2478f18186fb /shared
parent3b058610b49229994675c5db95592b3b2200880f (diff)
downloadkmod-efb5bfaca938fa5991865c1e9a0c730dc919708c.tar.gz
util: fix build on systems missing strndupa
we need include shared/missing.h to be able to compile on sysmtes that lacks strndupa.
Diffstat (limited to 'shared')
-rw-r--r--shared/util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared/util.c b/shared/util.c
index 855d4e4..23bbb26 100644
--- a/shared/util.c
+++ b/shared/util.c
@@ -30,6 +30,7 @@
#include <string.h>
#include <unistd.h>
+#include <shared/missing.h>
#include <shared/util.h>
#define USEC_PER_SEC 1000000ULL