From b45fa8b2f1ac3ffd9dc6ab7018260d753d1147b2 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Fri, 4 Feb 2011 15:08:48 +0100 Subject: [PATCH] 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(+) 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" -- 2.47.3