$NetBSD: patch-ab,v 1.8 2000/08/10 08:57:23 tron Exp $

--- magick/magick.h.orig	Tue Aug  1 01:32:36 2000
+++ magick/magick.h	Mon Aug  7 16:48:20 2000
@@ -7,10 +7,12 @@
 /*
   System include declarations.
 */
+#ifndef __NetBSD__
 #define __EXTENSIONS__  1
 #define _POSIX_C_SOURCE  199506L
 #define _XOPEN_SOURCE  500
 #define _XOPEN_SOURCE_EXTENDED  1
+#endif
 
 #include <stdio.h>
 #include <stdlib.h>
