aboutsummaryrefslogtreecommitdiff
path: root/sim/common/nrun.c
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2012-03-24 09:31:09 +0000
committerHans-Peter Nilsson <hp@axis.com>2012-03-24 09:31:09 +0000
commitf914e38494c6f9979337a59c26d57117111b6125 (patch)
treee62e2be665acd59891688103db816700827ec675 /sim/common/nrun.c
parent2232061b1ccf68bb1e46c95cab6f531831d72aa5 (diff)
downloadgdb-f914e38494c6f9979337a59c26d57117111b6125.zip
gdb-f914e38494c6f9979337a59c26d57117111b6125.tar.gz
gdb-f914e38494c6f9979337a59c26d57117111b6125.tar.bz2
* nrun.c: Add #ifdef HAVE_CONFIG_H and associated includes stanza
missing in last change.
Diffstat (limited to 'sim/common/nrun.c')
-rw-r--r--sim/common/nrun.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sim/common/nrun.c b/sim/common/nrun.c
index 8e92879..aa60c42 100644
--- a/sim/common/nrun.c
+++ b/sim/common/nrun.c
@@ -14,6 +14,12 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+/* Need to be before general includes, to pick up e.g. _GNU_SOURCE. */
+#ifdef HAVE_CONFIG_H
+#include "cconfig.h"
+#include "tconfig.h"
+#endif
+
#include <signal.h>
/* For strsignal. */