freebsd-ports/sysutils/prelink/files/patch-src-layout.c
Martin Wilke ca38a36b6d ELF prelinking utility to speed up dynamic linking.
WWW: http://people.redhat.com/jakub/prelink/

PR:		ports/176283
Submitted by:	Damjan Jovanovic <damjan.jov@gmail.com>
2013-02-21 00:50:10 +00:00

13 lines
362 B
C

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>