$NetBSD: patch-aa,v 1.2 2006/04/22 17:24:27 joerg Exp $ --- cnxtshot.c.orig 2004-01-13 17:16:20.000000000 +0000 +++ cnxtshot.c @@ -39,7 +39,11 @@ #include #include +#if defined(__DragonFly__) +#include +#else #include +#endif #include "cnxt.h" @@ -61,7 +65,7 @@ int main(int argc, char *argv[]) { int i; int ret; - int fd = NULL, efd = NULL; + int fd = 0, efd = 0; /* check option */ if (argc == 1) {