Fix build with KGDB option.
This commit is contained in:
parent
92b545ba81
commit
8a674f146a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=399704
1 changed files with 12 additions and 0 deletions
12
devel/gdb/files/patch-gdb_common_common-defs.h
Normal file
12
devel/gdb/files/patch-gdb_common_common-defs.h
Normal file
|
@ -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"
|
Loading…
Reference in a new issue