]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
string.h pulls in features.h
authorRoy Marples <roy@marples.name>
Thu, 5 Apr 2007 18:11:05 +0000 (18:11 +0000)
committerRoy Marples <roy@marples.name>
Thu, 5 Apr 2007 18:11:05 +0000 (18:11 +0000)
common.h

index c4e1624694366e60d7847edc723866e0140a48d7..30a2781d002f4b33279be5cb6ef2f501b111514f 100644 (file)
--- 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__)