summaryrefslogtreecommitdiff
path: root/graphics/GMT/patches/patch-ac
blob: 7cea789ac21af37229534c264790bcc825da2ba5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-ac,v 1.7 2006/11/28 18:02:34 wennmach Exp $

Include sys/types.h before sys/stat.h for DragonFly.

--- src/gmt.h.orig	2006-11-27 16:01:49.000000000 +0000
+++ src/gmt.h
@@ -59,11 +59,8 @@
 #include <math.h>
 #include <limits.h>
 #include <stddef.h>
-#include <sys/stat.h>
-#ifdef __MACHTEN__
-/* Kludge to fix a Machten POSIX bug */
 #include <sys/types.h>
-#endif
+#include <sys/stat.h>
 #if defined(__ultrix__) && defined(__mips)
 /* Needed to get isnan[fd] macros */
 #include <ieeefp.h>