From dcef67e46875f9600c39716c2ac8b843bb86429c Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Mon, 21 Jun 2010 23:20:15 +0000 Subject: Kill unneeded #include wherever possible Tested on Linux, FreeBSD, NetBSD, OpenBSD, DOS. Thanks to Jonathan A. Kollasch and Idwer Vollering for testing. Corresponding to flashrom svn r1057. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Idwer Vollering --- physmap.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'physmap.c') diff --git a/physmap.c b/physmap.c index 7642938..c65df30 100644 --- a/physmap.c +++ b/physmap.c @@ -23,13 +23,17 @@ #include #include #include -#include -#include #include #include -#include #include "flash.h" +/* Do we need any file access or ioctl for physmap or MSR? */ +#if !defined(__DJGPP__) +#include +#include +#include +#endif + #ifdef __DJGPP__ #include #include -- cgit v1.1