Mercurial > hg > xemacs-beta
diff src/systime.h @ 337:fbbf69b4e8a7 r21-0-66
Import from CVS: tag r21-0-66
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:51:02 +0200 |
parents | c5d627a313b1 |
children | cc15677e0335 |
line wrap: on
line diff
--- a/src/systime.h Mon Aug 13 10:50:41 2007 +0200 +++ b/src/systime.h Mon Aug 13 10:51:02 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>