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/Unix.h | |
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/Unix.h')
-rw-r--r-- | llvm/lib/Support/Unix/Unix.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/llvm/lib/Support/Unix/Unix.h b/llvm/lib/Support/Unix/Unix.h index 051f56f9692..dd11c04b32b 100644 --- a/llvm/lib/Support/Unix/Unix.h +++ b/llvm/lib/Support/Unix/Unix.h @@ -22,28 +22,22 @@ #include "llvm/Config/config.h" // Get autoconf configuration settings #include "llvm/Support/Errno.h" #include <algorithm> +#include <assert.h> #include <cerrno> #include <cstdio> #include <cstdlib> #include <cstring> #include <string> +#include <sys/types.h> #ifdef HAVE_UNISTD_H #include <unistd.h> #endif -#ifdef HAVE_SYS_TYPES_H -#include <sys/types.h> -#endif - #ifdef HAVE_SYS_PARAM_H #include <sys/param.h> #endif -#ifdef HAVE_ASSERT_H -#include <assert.h> -#endif - #ifdef HAVE_SYS_TIME_H # include <sys/time.h> #endif |