goom: fix build on PPC on openbsd
authorAntoine Jacoutot <ajacoutot@openbsd.org>
Sat, 16 Jul 2011 22:47:50 +0000 (23:47 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 16 Jul 2011 22:50:25 +0000 (23:50 +0100)
A missing sys/param.h include results in:

/usr/include/sys/proc.h:64: error: 'MAXLOGNAME' undeclared here (not in a
function)
/usr/include/sys/proc.h:285: error: 'MAXCOMLEN' undeclared here (not in a
function)

when compiling goom on openbsd/ppc. We can just remove the two sys/ includes
here, they are not needed for anything.

https://bugzilla.gnome.org/show_bug.cgi?id=654749

gst/goom/plugin_info.c

index aba15ca..b50c9dd 100644 (file)
@@ -35,8 +35,6 @@
 
 
 #if defined (HAVE_CPU_PPC64) || defined (HAVE_CPU_PPC)
-#include <sys/types.h>
-#include <sys/sysctl.h>
 #include "ppc_zoom_ultimate.h"
 #include "ppc_drawings.h"
 #endif /* HAVE_CPU_PPC64 || HAVE_CPU_PPC */