Fix the build when valgrind is installed.

Reported by:	lofi
This commit is contained in:
Joe Marcus Clarke 2004-06-24 20:32:22 +00:00
parent ed65da09c5
commit 2affcf4fcf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=112171
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,10 @@
--- gst/gstmemchunk.c.orig Thu Jun 24 16:30:43 2004
+++ gst/gstmemchunk.c Thu Jun 24 16:30:52 2004
@@ -24,6 +24,7 @@
#include "gstmemchunk.h"
#include "gsttrashstack.h"
#ifdef HAVE_VALGRIND
+#include <sys/types.h>
#include <sys/mman.h>
#include <valgrind/valgrind.h>
#endif

View file

@ -0,0 +1,10 @@
--- gst/gstmemchunk.c.orig Thu Jun 24 16:30:43 2004
+++ gst/gstmemchunk.c Thu Jun 24 16:30:52 2004
@@ -24,6 +24,7 @@
#include "gstmemchunk.h"
#include "gsttrashstack.h"
#ifdef HAVE_VALGRIND
+#include <sys/types.h>
#include <sys/mman.h>
#include <valgrind/valgrind.h>
#endif