freebsd-ports/graphics/gimp-gap/files/patch-libwavplayclient_wpc_msg.c
Michael Johnson c2f25bd954 Add gimp-gap
The GIMP-GAP (GIMP Animation Package) is a collection of Plug-Ins
to extend the GIMP with capabilities to edit and create
Animations as sequences of single frames.
2007-08-22 17:10:16 +00:00

19 lines
520 B
C

--- libwavplayclient/wpc_msg.c.orig 2007-08-22 09:13:38.000000000 -0400
+++ libwavplayclient/wpc_msg.c 2007-08-22 09:13:52.000000000 -0400
@@ -4,7 +4,6 @@
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
-#include <malloc.h>
#include <string.h>
#include <memory.h>
#include <signal.h>
@@ -13,7 +12,7 @@
#include <sys/msg.h>
#include <sys/ioctl.h>
#include <assert.h>
-#ifdef __CYGWIN__
+#if defined (__CYGWIN__) || defined (__FreeBSD__)
#include <sys/soundcard.h>
#else
#include <linux/soundcard.h>