X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=src%2Fgetloadavg.c;h=b8161e49b04fa7545090e80e92ae02e3327480a3;hp=39c45e60158eae12720f17fdd40bedaea6cba1c9;hb=976b002b16336930724ae22476014583ad022e7d;hpb=eb1f7fa6e0f89ff92b86f02c7cbdee048edd8b0d diff --git a/src/getloadavg.c b/src/getloadavg.c index 39c45e6..b8161e4 100644 --- a/src/getloadavg.c +++ b/src/getloadavg.c @@ -19,8 +19,6 @@ along with XEmacs; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#ifndef __CYGWIN32__ - /* Compile-time symbols that this file uses: FIXUP_KERNEL_SYMBOL_ADDR() Adjust address in returned struct nlist. @@ -71,6 +69,9 @@ Boston, MA 02111-1307, USA. */ #include #endif +#ifndef WINDOWSNT +#ifndef __CYGWIN32__ + #include /* Both the Emacs and non-Emacs sections want this. Some @@ -1006,4 +1007,4 @@ getloadavg (double loadavg[], int nelem) } #endif /*__GNUWIN32__*/ - +#endif /* WINDOWSNT */