summaryrefslogtreecommitdiff
path: root/graphics/ImageMagick/files/patch-mi
blob: 0fa34280f113a2be8e474fb743bf73b02aa832db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- magick/xwindow.h	Thu Sep  5 15:50:03 2002
+++ magick/xwindow.h	Wed Oct 16 11:08:11 2002
@@ -43,4 +43,2 @@
 #if defined(HasSharedMemory)
-#include <sys/ipc.h>
-#include <sys/shm.h>
 #include <X11/extensions/XShm.h>
--- magick/xwindow.c	Thu Oct 17 10:08:02 2002
+++ magick/xwindow.c	Thu Oct 17 10:11:42 2002
@@ -58,4 +58,11 @@
 #include "xwindow.h"
 #if defined(HasX11)
+#if defined(HasSharedMemory)
+#include <machine/param.h>
+//typedef unsigned short ushort;	/* needed for sys/ipc.h at the moment */
+#include <sys/types.h>
+#include <sys/ipc.h>
+#include <sys/shm.h>
+#endif