aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/graphviz/files/patch-lefty::common.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/graphics/graphviz/files/patch-lefty::common.h b/graphics/graphviz/files/patch-lefty::common.h
new file mode 100644
index 000000000000..997b1fb5e67c
--- /dev/null
+++ b/graphics/graphviz/files/patch-lefty::common.h
@@ -0,0 +1,22 @@
+--- lefty/common.h.orig Fri Nov 5 19:56:20 2004
++++ lefty/common.h Fri Nov 5 20:00:50 2004
+@@ -53,6 +53,9 @@
+ #ifdef FEATURE_CS
+ #include <ast.h>
+ #else
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
+ #ifdef HAVE_STDLIB_H
+ #include <stdlib.h>
+ #endif
+@@ -67,9 +70,6 @@
+ #endif
+ #ifdef HAVE_LIMITS_H
+ #include <limits.h>
+-#endif
+-#ifdef HAVE_SYS_TYPES_H
+-#include <sys/types.h>
+ #endif
+ #ifdef HAVE_SYS_STAT_H
+ #include <sys/stat.h>