Fix build with KGDB option.

This commit is contained in:
Jung-uk Kim 2015-10-19 18:02:49 +00:00
parent 92b545ba81
commit 8a674f146a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=399704

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