Mercurial > hg > xemacs-beta
diff src/systime.h @ 396:6719134a07c2 r21-2-13
Import from CVS: tag r21-2-13
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:12:05 +0200 |
parents | cc15677e0335 |
children | 74fd4e045ea6 |
line wrap: on
line diff
--- a/src/systime.h Mon Aug 13 11:11:38 2007 +0200 +++ b/src/systime.h Mon Aug 13 11:12:05 2007 +0200 @@ -34,6 +34,13 @@ #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>