aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/graphviz
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2004-11-06 03:07:08 +0800
committerdes <des@FreeBSD.org>2004-11-06 03:07:08 +0800
commit3bbaf5cf6dbcfe8213a76857210894f46cdde949 (patch)
tree499c3ce053bab456bf29128e0477395852617aef /graphics/graphviz
parentcfe5112aa5459ee287c754c5a062331c8421ecf5 (diff)
downloadfreebsd-ports-gnome-3bbaf5cf6dbcfe8213a76857210894f46cdde949.tar.gz
freebsd-ports-gnome-3bbaf5cf6dbcfe8213a76857210894f46cdde949.tar.zst
freebsd-ports-gnome-3bbaf5cf6dbcfe8213a76857210894f46cdde949.zip
Fix RELENG_4 build by reordering system includes in lefty/common.h.
<sys/types.h> should always come before any other headers.
Diffstat (limited to 'graphics/graphviz')
-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>