changeset 86:231c5353f0dd draft

string.h pulls in features.h
author Roy Marples <roy@marples.name>
date Thu, 05 Apr 2007 18:11:05 +0000
parents 5357d600e835
children 8a1c2fd9e7e2
files common.h
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/common.h	Thu Apr 05 18:05:38 2007 +0000
+++ b/common.h	Thu Apr 05 18:11:05 2007 +0000
@@ -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__)