From 580e690532601ce392f8d0fccb5354f9d62ffe65 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Sun, 5 Mar 2006 09:19:25 +0000 Subject: [PATCH] * dwarf2-info.c: Include config.h before looking for HAVE_UNISTD_H define. svn path=/trunk/yasm/; revision=1402 --- modules/dbgfmts/dwarf2/dwarf2-info.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/dbgfmts/dwarf2/dwarf2-info.c b/modules/dbgfmts/dwarf2/dwarf2-info.c index 2e79df27..43e2faac 100644 --- a/modules/dbgfmts/dwarf2/dwarf2-info.c +++ b/modules/dbgfmts/dwarf2/dwarf2-info.c @@ -24,6 +24,11 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ +#ifdef HAVE_CONFIG_H +#include +#undef HAVE_CONFIG_H +#endif + /* Need either unistd.h or direct.h (on Windows) to prototype getcwd() */ #ifdef HAVE_UNISTD_H #include -- 2.40.0