freebsd-ports/graphics/ImageMagick/files/patch-xwindow.c
Tilman Keskinoz d742d20316 Unbreak on -CURRENT.
PR:		45546
Submitted by:	bento, JY <leafy@leafy.idv.tw>
2002-11-21 19:00:38 +00:00

19 lines
462 B
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--- 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)