From b45fa8b2f1ac3ffd9dc6ab7018260d753d1147b2 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Fri, 4 Feb 2011 15:08:48 +0100 Subject: 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 --- include/xalloc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/xalloc.h') diff --git a/include/xalloc.h b/include/xalloc.h index 27efa30c5..841333c30 100644 --- a/include/xalloc.h +++ b/include/xalloc.h @@ -12,6 +12,7 @@ #include #include +#include #include "c.h" -- cgit v1.2.3-55-g7522