From 1d62ba425ffe74df352f6c6121ef87952fbcdc59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Fri, 5 Nov 2004 19:07:08 +0000 Subject: Fix RELENG_4 build by reordering system includes in lefty/common.h. should always come before any other headers. --- graphics/graphviz/files/patch-lefty::common.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 graphics/graphviz/files/patch-lefty::common.h (limited to 'graphics/graphviz/files/patch-lefty::common.h') 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 + #else ++#ifdef HAVE_SYS_TYPES_H ++#include ++#endif + #ifdef HAVE_STDLIB_H + #include + #endif +@@ -67,9 +70,6 @@ + #endif + #ifdef HAVE_LIMITS_H + #include +-#endif +-#ifdef HAVE_SYS_TYPES_H +-#include + #endif + #ifdef HAVE_SYS_STAT_H + #include -- cgit v1.2.3