summaryrefslogtreecommitdiff
path: root/sysutils/prelink/files/patch-src-layout.c
blob: 717c36207b604bae284b8655e61df50a2b8e7888 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -Nur src/layout.c src/layout.c
--- src/layout.c	2013-02-19 23:54:34.000000000 +0200
+++ src/layout.c	2013-02-19 23:50:31.000000000 +0200
@@ -16,7 +16,9 @@
    Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 #include <config.h>
+#if HAVE_ALLOCA_H
 #include <alloca.h>
+#endif
 #include <errno.h>
 #include <error.h>
 #include <fcntl.h>