Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/elf2ecoff Include config.h when compiled as host tool.



details:   https://anonhg.NetBSD.org/src/rev/e18821062fec
branches:  trunk
changeset: 524377:e18821062fec
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Sun Mar 24 19:19:29 2002 +0000

description:
Include config.h when compiled as host tool.

diffstat:

 usr.bin/elf2ecoff/elf2ecoff.c |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r c4211ab60d7f -r e18821062fec usr.bin/elf2ecoff/elf2ecoff.c
--- a/usr.bin/elf2ecoff/elf2ecoff.c     Sun Mar 24 19:17:51 2002 +0000
+++ b/usr.bin/elf2ecoff/elf2ecoff.c     Sun Mar 24 19:19:29 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elf2ecoff.c,v 1.18 2002/03/23 17:44:52 bouyer Exp $    */
+/*     $NetBSD: elf2ecoff.c,v 1.19 2002/03/24 19:19:29 bouyer Exp $    */
 
 /*
  * Copyright (c) 1997 Jonathan Stone
@@ -49,6 +49,10 @@
 #include <string.h>
 #include <limits.h>
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 
 #define        ISLAST(p)       (p->n_un.n_name == 0 || p->n_un.n_name[0] == 0)
 



Home | Main Index | Thread Index | Old Index