From 13b1ba7de8d0ecc42e4f9c002d5b0c1a48f05e58 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Fri, 28 Sep 2012 10:03:03 +0300 Subject: [PATCH] OMAPDSS: add missing include for string.h Both dpi.c and sdi.c use strcmp(), but do not include string.h. With some Kconfig options string.h is included implicitly, but with some other the compilation fails: drivers/video/omap2/dss/dpi.c:407:5: error: implicit declaration of function 'strcmp' Include string.h in both dpi.c and sdi.c Signed-off-by: Tomi Valkeinen --- drivers/video/omap2/dss/dpi.c | 1 + drivers/video/omap2/dss/sdi.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/video/omap2/dss/dpi.c b/drivers/video/omap2/dss/dpi.c index d73a549..56748cf 100644 --- a/drivers/video/omap2/dss/dpi.c +++ b/drivers/video/omap2/dss/dpi.c @@ -29,6 +29,7 @@ #include #include #include +#include #include