summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/gdb/files/patch-gdb_common_common-defs.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/gdb/files/patch-gdb_common_common-defs.h b/devel/gdb/files/patch-gdb_common_common-defs.h
new file mode 100644
index 000000000000..71e1795a9dd1
--- /dev/null
+++ b/devel/gdb/files/patch-gdb_common_common-defs.h
@@ -0,0 +1,12 @@
+--- gdb/common/common-defs.h.orig 2015-07-06 19:57:46 UTC
++++ gdb/common/common-defs.h
+@@ -34,7 +34,9 @@
+ #include <stdint.h>
+ #include <string.h>
+ #include <errno.h>
++#ifndef __FreeBSD__
+ #include <alloca.h>
++#endif
+ #include "ansidecl.h"
+ #include "libiberty.h"
+ #include "pathmax.h"