pkgsrc/graphics/GMT/patches/patch-ac
wennmach 753aa4b3f9 - Note reason for patch-ac in the patch file itself so that this information
is easily accessible for updating the package
- Bump PKGREVISION for patch-ac
- regen distinfo
2006-11-28 18:02:33 +00:00

19 lines
505 B
Text

$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>