$NetBSD: patch-aa,v 1.7 2007/09/02 14:02:20 joerg Exp $

--- digikam/libs/greycstoration/CImg.h.orig	2007-06-13 18:06:04.000000000 +0000
+++ digikam/libs/greycstoration/CImg.h
@@ -77,9 +77,9 @@
 // Try to detect the current system and set value of 'cimg_OS'.
 #ifndef cimg_OS
 #if defined(sun)         || defined(__sun)      || defined(linux)       || defined(__linux) \
- || defined(__linux__)   || defined(__CYGWIN__) || defined(BSD)         || defined(__FreeBSD__) \
+ || defined(__linux__)   || defined(__CYGWIN__) || defined(BSD)         || defined(__FreeBSD__) || defined (__NetBSD__) \
  || defined(__OPENBSD__) || defined(__MACOSX__) || defined(__APPLE__)   || defined(sgi) \
- || defined(__sgi)
+ || defined(__sgi) || defined(__DragonFly__)
 // Unix-like (Linux, Solaris, BSD, MacOSX, Irix,...).
 #define cimg_OS            1
 #ifndef cimg_display_type
