summaryrefslogtreecommitdiff
path: root/graphics/ImageMagick/files/patch-xwindow.c
blob: 782a0a09b9cc01fb4f33f2f188092ecbe0ea6839 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- magick/xwindow.c.old	Sun Nov 24 15:07:53 2002
+++ magick/xwindow.c	Sun Nov 24 15:08:16 2002
@@ -57,6 +57,16 @@
 #include "log.h"
 #include "utility.h"
 #include "version.h"
+#if defined(HasSharedMemory)
+#include <machine/param.h>
+
+#if __FreeBSD__ >= 5
+typedef unsigned short ushort;	/* needed for sys/ipc.h at the moment */
+#endif
+#include <sys/types.h>
+#include <sys/ipc.h>
+#include <sys/shm.h>
+#endif
 #include "xwindow.h"
 #if defined(HasX11)