$NetBSD: patch-ae,v 1.1 2005/12/07 03:45:21 joerg Exp $ --- src/sysdep.h.orig 2005-12-07 03:35:42.000000000 +0000 +++ src/sysdep.h @@ -13,7 +13,7 @@ #ifdef __GNUC__ # define USE_LONGLONG 1 -# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(bsdi) +# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(bsdi) || defined(__DragonFly__) # define PERCENT_LONGLONG "%qu" # elif defined(__linux__) # define PERCENT_LONGLONG "%Lu" @@ -22,7 +22,7 @@ # endif #endif -#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(bsdi) || defined(M_UNIX) +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(bsdi) || defined(M_UNIX) || defined(__DragonFly__) # ifndef NOSHADOW # define NOSHADOW # endif @@ -44,11 +44,7 @@ typedef unsigned long long UINT8; #include #endif -#if defined(__FreeBSD__) || defined(bsdi) -# include -#else -# include -#endif /* FreeBSD */ +#include #if defined(aix) #include @@ -83,7 +79,7 @@ typedef unsigned long long UINT8; # define __hpux__ # endif #endif -#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(bsdi) +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(bsdi) || defined(__DragonFly__) # ifndef UTMP_FILE # define UTMP_FILE "/var/run/utmp" # endif