summaryrefslogtreecommitdiff
path: root/multimedia/xine-ui/patches/patch-ah
blob: bec971a4e15ec93d259f721e0b2bee2abf93bdd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-ah,v 1.1 2004/03/28 21:11:35 mycroft Exp $

--- src/common/utils.c.orig	2003-12-18 00:30:11.000000000 +0000
+++ src/common/utils.c	2004-03-28 20:55:10.000000000 +0000
@@ -34,7 +34,6 @@
 #include <sys/stat.h>
 #include <sys/wait.h>
 #include <sys/utsname.h>
-#include <alloca.h>
 
 #ifdef HAVE_X11
 #include <X11/Xlib.h>
@@ -47,6 +46,10 @@
 #include <X11/Xutil.h>
 #endif /* !HAVE_X11 */
 
+#ifdef HAVE_ALLOCA_H
+#include <alloca.h>
+#endif
+
 #include <xine/xineutils.h>
 
 #include "utils.h"