summaryrefslogtreecommitdiffstats
path: root/flash.h
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2009-04-28 12:56:04 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-04-28 12:56:04 +0000
commit60622e2262c3d5456234669bac544caa46e0d023 (patch)
tree29a588be5329b2e9f955a2bc11628683cca0b605 /flash.h
parentdd315e107d39e27389f2568de842322ac5ef0746 (diff)
downloadast2050-flashrom-60622e2262c3d5456234669bac544caa46e0d023.zip
ast2050-flashrom-60622e2262c3d5456234669bac544caa46e0d023.tar.gz
Handle DragonFly BSD definitions in flash.h
There are still some tweaks necessary to get flashrom to build on DragonFly, but this helps a lot. Corresponding to flashrom svn r445. Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'flash.h')
-rw-r--r--flash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/flash.h b/flash.h
index 59c6c47..e3cd49e 100644
--- a/flash.h
+++ b/flash.h
@@ -34,7 +34,7 @@
#define __DARWIN__
#endif
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__DragonFly__)
#include <machine/cpufunc.h>
#define off64_t off_t
#define lseek64 lseek
OpenPOWER on IntegriCloud