diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-06-01 17:44:29 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-06-01 17:44:29 +0000 |
commit | ced39bdf382382fb7be00b9bfb0c9cd2a3262c3f (patch) | |
tree | c53167a15ba1ba35ccf107f685e0a371a5faaed1 /autoconf | |
parent | 870286aa33290c00e55ba479a60251c79f3a7911 (diff) |
Make sure windows.h is #included first.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28637 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r-- | autoconf/configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 8ad313d5fe..c827ec7ecd 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -487,7 +487,8 @@ dnl libelf is for sparc only; we can ignore it if we don't have it AC_CHECK_LIB(elf, elf_begin) AC_CHECK_LIB(m,sin) if test "$llvm_cv_os_type" == "MingW" ; then - AC_CHECK_HEADERS([windows.h imagehlp.h psapi.h]) + AC_CHECK_HEADERS([windows.h]) + AC_CHECK_HEADERS([imagehlp.h psapi.h]) AC_CHECK_LIB(imagehlp,[SymGetOptions]) AC_CHECK_LIB(psapi,[GetProcessMemoryInfo]) fi |