$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"
