From: Marek Polacek Date: Fri, 4 Feb 2011 14:08:48 +0000 (+0100) Subject: include: [xalloc.h] include string.h X-Git-Tag: v2.19~35 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b45fa8b2f1ac3ffd9dc6ab7018260d753d1147b2;p=thirdparty%2Futil-linux.git include: [xalloc.h] include string.h xalloc.h needs string.h for declaration of strdup(). Otherwise we can get implicit declaration warning. This patch prevents it. Signed-off-by: Marek Polacek --- diff --git a/include/xalloc.h b/include/xalloc.h index 27efa30c58..841333c308 100644 --- a/include/xalloc.h +++ b/include/xalloc.h @@ -12,6 +12,7 @@ #include #include +#include #include "c.h"