From 52e75800b4731692f1e311f0d8701875ac98c96d Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 31 Jan 2008 15:34:09 -0500 Subject: ENH: fix for qnx, I hope, and fix indent stuff --- Source/kwsys/SystemInformation.cxx | 42 ++++++++++++++++++++------------------ 1 file 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 // int uname(struct utsname *buf); -#endif - -#ifdef _WIN32 - #include -#endif - -#ifdef __linux -#include -#include -#include -#include -#include // int isdigit(int c); -#include // extern int errno; -#include -#elif __hpux -#include -#include -#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 // int uname(struct utsname *buf); +#endif + +#ifdef _WIN32 +# include +#endif + +#ifdef __linux +# include +# include +# include +# include +# include // int isdigit(int c); +# include // extern int errno; +# include +#elif __hpux +# include +# include +#endif + #include #include #include -- cgit v0.12