$NetBSD: patch-ac,v 1.6 2006/11/27 16:43:58 joerg 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>
