summaryrefslogtreecommitdiffstats
path: root/flashrom.c
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-05-01 16:34:32 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-05-01 16:34:32 +0000
commit9abf529387ad68171d76f7bb9a6e665a68d0e891 (patch)
treecce78e1aac631f6f83a0eb155ead46f32878ac31 /flashrom.c
parent261cafab863e5ac37c7a6f3df24a5db18eb31556 (diff)
downloadast2050-flashrom-9abf529387ad68171d76f7bb9a6e665a68d0e891.zip
ast2050-flashrom-9abf529387ad68171d76f7bb9a6e665a68d0e891.tar.gz
Allow compilation on Solaris
Fix compilation on Solaris and tell people how to compile flashrom on Solaris, Darwin/Mac OS X and DragonFly BSD. Thanks to Joerg Schilling and Patrick Georgi for the Solaris part. Corresponding to flashrom svn r452. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Peter Stuge <peter@stuge.se>
Diffstat (limited to 'flashrom.c')
-rw-r--r--flashrom.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/flashrom.c b/flashrom.c
index 36d145f..2c77ff3 100644
--- a/flashrom.c
+++ b/flashrom.c
@@ -30,13 +30,6 @@
#include <stdlib.h>
#include <getopt.h>
#include <pci/pci.h>
-/* for iopl */
-#if defined (__sun) && (defined(__i386) || defined(__amd64))
-#include <strings.h>
-#include <sys/sysi86.h>
-#include <sys/psw.h>
-#include <asm/sunddi.h>
-#endif
#include "flash.h"
char *chip_to_probe = NULL;
OpenPOWER on IntegriCloud