diff options
author | des <des@FreeBSD.org> | 2004-11-06 03:07:08 +0800 |
---|---|---|
committer | des <des@FreeBSD.org> | 2004-11-06 03:07:08 +0800 |
commit | 3bbaf5cf6dbcfe8213a76857210894f46cdde949 (patch) | |
tree | 499c3ce053bab456bf29128e0477395852617aef /graphics/graphviz | |
parent | cfe5112aa5459ee287c754c5a062331c8421ecf5 (diff) | |
download | freebsd-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.h | 22 |
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> |