$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 #include #include -#include -#ifdef __MACHTEN__ -/* Kludge to fix a Machten POSIX bug */ #include -#endif +#include #if defined(__ultrix__) && defined(__mips) /* Needed to get isnan[fd] macros */ #include