$NetBSD$

--- libdiscmage/libdiscmage.h.orig	2005-07-25 18:00:47.000000000 -0400
+++ libdiscmage/libdiscmage.h
@@ -28,7 +28,7 @@ extern "C" {
 
 #include <stdio.h>                              // FILENAME_MAX
 
-#if     defined __linux__ || defined __FreeBSD__ || defined __OpenBSD__ || \
+#if     defined __linux__ || defined __FreeBSD__ || defined __OpenBSD__ || defined __NetBSD__ || \
         defined __solaris__ || defined __MINGW32__ || defined __CYGWIN__ || \
         defined __BEOS__ || defined AMIGA || defined __APPLE__ // Mac OS X actually
 // We cannot use config.h (for HAVE_INTTYPES_H), because this header file may be
