Fix compilation on NetBSD.
authorMarc Andre Tanner <mat@brain-dump.org>
Sun, 13 Jan 2008 20:50:37 +0000 (21:50 +0100)
committerPierre Habouzit <madcoder@debian.org>
Sun, 3 Feb 2008 18:07:42 +0000 (19:07 +0100)
Signed-off-by: Marc Andre Tanner <mat@brain-dump.org>
madtty/madtty.c

index 4bb95f7..317712c 100644 (file)
@@ -37,7 +37,7 @@
 # include <pty.h>
 #elif defined(__FreeBSD__)
 # include <libutil.h>
 # include <pty.h>
 #elif defined(__FreeBSD__)
 # include <libutil.h>
-#elif defined(__OpenBSD__)
+#elif defined(__OpenBSD__) || defined(__NetBSD__)
 # include <util.h>
 #endif
 #include "madtty.h"
 # include <util.h>
 #endif
 #include "madtty.h"