From: Peter Johnson Date: Sun, 5 Mar 2006 09:19:25 +0000 (-0000) Subject: * dwarf2-info.c: Include config.h before looking for HAVE_UNISTD_H define. X-Git-Tag: v0.5.0rc2~5^2~36 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=580e690532601ce392f8d0fccb5354f9d62ffe65;p=yasm * dwarf2-info.c: Include config.h before looking for HAVE_UNISTD_H define. svn path=/trunk/yasm/; revision=1402 --- 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