diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-01-31 20:34:09 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-01-31 20:34:09 (GMT) |
commit | 52e75800b4731692f1e311f0d8701875ac98c96d (patch) | |
tree | f374371077cc6a5e0bb91314bac033fad7a52229 /Source/kwsys | |
parent | 99ebc1e728a70ea16515b556d45d924291f5fab8 (diff) | |
download | CMake-52e75800b4731692f1e311f0d8701875ac98c96d.zip CMake-52e75800b4731692f1e311f0d8701875ac98c96d.tar.gz CMake-52e75800b4731692f1e311f0d8701875ac98c96d.tar.bz2 |
ENH: fix for qnx, I hope, and fix indent stuff
Diffstat (limited to 'Source/kwsys')
-rw-r--r-- | Source/kwsys/SystemInformation.cxx | 42 |
1 files changed, 22 insertions, 20 deletions
diff --git a/Source/kwsys/SystemInformation.cxx b/Source/kwsys/SystemInformation.cxx index 9c02b15..3be8d86 100644 --- a/Source/kwsys/SystemInformation.cxx +++ b/Source/kwsys/SystemInformation.cxx @@ -14,26 +14,6 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ #include "kwsysPrivate.h" -#ifndef WIN32 - #include <sys/utsname.h> // int uname(struct utsname *buf); -#endif - -#ifdef _WIN32 - #include <windows.h> -#endif - -#ifdef __linux -#include <sys/procfs.h> -#include <sys/types.h> -#include <unistd.h> -#include <fcntl.h> -#include <ctype.h> // int isdigit(int c); -#include <errno.h> // extern int errno; -#include <sys/time.h> -#elif __hpux -#include <sys/param.h> -#include <sys/pstat.h> -#endif #include KWSYS_HEADER(FundamentalType.h) #include KWSYS_HEADER(stl/string) #include KWSYS_HEADER(stl/vector) @@ -56,6 +36,28 @@ # include "kwsys_ios_iostream.h.in" #endif + +#ifndef WIN32 +# include <sys/utsname.h> // int uname(struct utsname *buf); +#endif + +#ifdef _WIN32 +# include <windows.h> +#endif + +#ifdef __linux +# include <sys/procfs.h> +# include <sys/types.h> +# include <unistd.h> +# include <fcntl.h> +# include <ctype.h> // int isdigit(int c); +# include <errno.h> // extern int errno; +# include <sys/time.h> +#elif __hpux +# include <sys/param.h> +# include <sys/pstat.h> +#endif + #include <memory.h> #include <stdlib.h> #include <stdio.h> |