summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-04-05 18:11:05 +0000
committerRoy Marples <roy@marples.name>2007-04-05 18:11:05 +0000
commit377f4c2def52361c5c21c751e374f6d80e86c692 (patch)
tree092c4c920c3d08ce74843b24b4d8fb7510c94726 /common.h
parent3c7fb0d496e3d10bfea45d70e62c3f30694ccec5 (diff)
downloaddhcpcd-377f4c2def52361c5c21c751e374f6d80e86c692.tar.xz
string.h pulls in features.h
Diffstat (limited to 'common.h')
-rw-r--r--common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common.h b/common.h
index c4e16246..30a2781d 100644
--- a/common.h
+++ b/common.h
@@ -22,6 +22,9 @@
#ifndef COMMON_H
#define COMMON_H
+/* string.h pulls in features.h so the below define checks work */
+#include <string.h>
+
/* Only GLIBC doesn't support strlcpy */
#ifdef __GLIBC__
# if ! defined(__UCLIBC__) && ! defined (__dietlibc__)