diff options
| author | Reid Kleckner <reid@kleckner.net> | 2013-07-26 16:54:23 +0000 |
|---|---|---|
| committer | Reid Kleckner <reid@kleckner.net> | 2013-07-26 16:54:23 +0000 |
| commit | 37f69de11b8c1810e29851430da317db5c1350a9 (patch) | |
| tree | b1c0e611884c2dcf000ad0098b436dbb888851ba /llvm/lib/Support/Unix/Path.inc | |
| parent | 70d98f446e53ad4a8b858ebc6b237c8c416b3645 (diff) | |
| download | bcm5719-llvm-37f69de11b8c1810e29851430da317db5c1350a9.tar.gz bcm5719-llvm-37f69de11b8c1810e29851430da317db5c1350a9.zip | |
Remove dead or useless header checks from cmake and autoconf
On Windows, this improves clean cmake configuration time on my
workstation from 1m58s to 1m32s, which is pretty significant. There's
probably more that can be done here, but this is the low hanging fruit.
Eric volunteered to regenerate ./configure for me.
llvm-svn: 187209
Diffstat (limited to 'llvm/lib/Support/Unix/Path.inc')
| -rw-r--r-- | llvm/lib/Support/Unix/Path.inc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/llvm/lib/Support/Unix/Path.inc b/llvm/lib/Support/Unix/Path.inc index ccd60e5fbd1..5386366b542 100644 --- a/llvm/lib/Support/Unix/Path.inc +++ b/llvm/lib/Support/Unix/Path.inc @@ -18,6 +18,8 @@ #include "Unix.h" #include "llvm/Support/Process.h" +#include <limits.h> +#include <stdio.h> #if HAVE_SYS_STAT_H #include <sys/stat.h> #endif @@ -43,12 +45,6 @@ # include <ndir.h> # endif #endif -#if HAVE_STDIO_H -#include <stdio.h> -#endif -#if HAVE_LIMITS_H -#include <limits.h> -#endif #ifdef __APPLE__ #include <mach-o/dyld.h> |

