X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fsystime.h;h=2f01157d8229f145d454a19a66ca76fcf18c86a4;hb=f8b0dcc32dce11bef09e2fbcde040aecd1f86fd1;hp=666c8c79aa982c0e521f2725274fa4873a8062cb;hpb=6883ee56ec887c2c48abe5b06b5e66aa74031910;p=chise%2Fxemacs-chise.git- diff --git a/src/systime.h b/src/systime.h index 666c8c7..2f01157 100644 --- a/src/systime.h +++ b/src/systime.h @@ -34,6 +34,13 @@ Boston, MA 02111-1307, USA. */ #endif #endif +/* select() is supposed to be (Unix98) defined in sys/time.h, + but FreeBSD and Irix 5 put it in unistd.h instead. + If we have it, including it can't hurt. */ +#ifdef HAVE_UNISTD_H +#include +#endif + #if defined(WINDOWSNT) && defined(HAVE_X_WINDOWS) /* Provides gettimeofday etc */ #include @@ -224,7 +231,7 @@ int set_file_times (char *filename, EMACS_TIME atime, EMACS_TIME mtime); void get_process_times (double *user_time, double *system_time, double *real_time); -#if defined(WINDOWSNT) || defined(BROKEN_CYGWIN) +#if defined(WINDOWSNT) || defined(BROKEN_CYGWIN) || defined(__MINGW32__) /* setitimer emulation for Win32 (see nt.c) */