summaryrefslogtreecommitdiff
path: root/multimedia/libva-intel-driver/files/patch-src-i965_decoder_utils.c
blob: a59436285a083b09223340491f4de314883fc3ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- src/i965_decoder_utils.c.orig	2012-08-14 17:08:16.000000000 +0200
+++ src/i965_decoder_utils.c	2012-10-10 17:25:22.358503055 +0200
@@ -24,7 +24,11 @@
 #include <assert.h>
 #include <stddef.h>
 #include <string.h>
+#ifdef __FreeBSD__
+#include <stdlib.h>
+#else
 #include <alloca.h>
+#endif
 #include "intel_batchbuffer.h"
 #include "i965_decoder_utils.h"
 #include "i965_drv_video.h"