]> granicus.if.org Git - yasm/commitdiff
* dwarf2-info.c: Include config.h before looking for HAVE_UNISTD_H define.
authorPeter Johnson <peter@tortall.net>
Sun, 5 Mar 2006 09:19:25 +0000 (09:19 -0000)
committerPeter Johnson <peter@tortall.net>
Sun, 5 Mar 2006 09:19:25 +0000 (09:19 -0000)
svn path=/trunk/yasm/; revision=1402

modules/dbgfmts/dwarf2/dwarf2-info.c

index 2e79df27c72ab4f5cefe24a0cf0750475b3d67d8..43e2faac30d2c1bcde95b67fadfacb6984ecf1c3 100644 (file)
  * 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 <config.h>
+#undef HAVE_CONFIG_H
+#endif
+
 /* Need either unistd.h or direct.h (on Windows) to prototype getcwd() */
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>