projects
/
chise
/
xemacs-chise.git-
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update.
[chise/xemacs-chise.git-]
/
src
/
systime.h
diff --git
a/src/systime.h
b/src/systime.h
index
666c8c7
..
2f01157
100644
(file)
--- a/
src/systime.h
+++ b/
src/systime.h
@@
-34,6
+34,13
@@
Boston, MA 02111-1307, USA. */
#endif
#endif
#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 <unistd.h>
+#endif
+
#if defined(WINDOWSNT) && defined(HAVE_X_WINDOWS)
/* Provides gettimeofday etc */
#include <X11/Xw32defs.h>
#if defined(WINDOWSNT) && defined(HAVE_X_WINDOWS)
/* Provides gettimeofday etc */
#include <X11/Xw32defs.h>
@@
-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);
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) */
/* setitimer emulation for Win32 (see nt.c) */