$NetBSD: patch-ae,v 1.2 2006/03/30 13:51:29 salo Exp $ --- getifname.c.orig 2004-05-03 10:55:53.000000000 +0200 +++ getifname.c 2006-03-22 19:56:40.000000000 +0100 @@ -17,7 +17,7 @@ #include /* close */ #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || \ - defined(__bsdi__) || defined(__APPLE__) + defined(__bsdi__) || defined(__APPLE__) || defined(__DragonFly__) #include #include #include @@ -28,7 +28,7 @@ #if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) && \ !defined(__linux__) && !defined(__sun__) && !defined(__bsdi__) && \ - !defined(__APPLE__) + !defined(__APPLE__) && !defined(__DragonFly__) #error Sorry, interface code not implemented. #endif @@ -175,7 +175,7 @@ } #elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || \ - defined(__bsdi__) || defined(__APPLE__) + defined(__bsdi__) || defined(__APPLE__) || defined(__DragonFly__) /* return interface informations : - from the specified (-I) interface