aboutsummaryrefslogtreecommitdiff
path: root/graphics/fv/files/patch-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/fv/files/patch-common.h')
-rw-r--r--graphics/fv/files/patch-common.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/fv/files/patch-common.h b/graphics/fv/files/patch-common.h
new file mode 100644
index 000000000000..8dc6c8e4fe30
--- /dev/null
+++ b/graphics/fv/files/patch-common.h
@@ -0,0 +1,15 @@
+--- common.h.orig
++++ common.h
+@@ -38,7 +38,12 @@
+ #include <fcntl.h>
+ #include <map>
+ #include <pthread.h>
++#if (defined(__unix__) || defined(unix)) && !defined(USG)
++#include <sys/param.h>
++#endif
++#ifndef BSD
+ #include <stdint.h>
++#endif
+ #include <string>
+ #include <sys/stat.h>
+ #include <sys/time.h>