diff options
Diffstat (limited to 'mcon/U/d_fd_set.U')
-rw-r--r-- | mcon/U/d_fd_set.U | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/mcon/U/d_fd_set.U b/mcon/U/d_fd_set.U index 68eaf9f..7d68771 100644 --- a/mcon/U/d_fd_set.U +++ b/mcon/U/d_fd_set.U @@ -1,11 +1,11 @@ -?RCS: $Id: d_fd_set.U 1 2006-08-24 12:32:52Z rmanfredi $ +?RCS: $Id: d_fd_set.U 167 2013-05-08 17:58:00Z rmanfredi $ ?RCS: ?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi ?RCS: -?RCS: You may redistribute only under the terms of the Artistic Licence, +?RCS: You may redistribute only under the terms of the Artistic License, ?RCS: as specified in the README file that comes with the distribution. ?RCS: You may reuse parts of this distribution only within the terms of -?RCS: that same Artistic Licence; a copy of which may be found at the root +?RCS: that same Artistic License; a copy of which may be found at the root ?RCS: of the source tree for dist 4.0. ?RCS: ?RCS: $Log: d_fd_set.U,v $ @@ -22,7 +22,7 @@ ?RCS: Baseline for dist 3.0 netwide release. ?RCS: ?MAKE:d_fd_set d_fd_macros d_fds_bits: cat +cc +ccflags rm Oldconfig \ - d_socket i_systime i_sysselct + d_socket i_systime i_sysselct i_syssock ?MAKE: -pick add $@ %< ?S:d_fd_set: ?S: This variable contains the eventual value of the HAS_FD_SET symbol, @@ -72,10 +72,13 @@ $cat >fd_set.c <<EOCP #$i_systime I_SYS_TIME #$i_sysselct I_SYS_SELECT #$d_socket HAS_SOCKET +#$i_syssock I_SYS_SOCKET #include <sys/types.h> #ifdef HAS_SOCKET +#ifdef I_SYS_SOCKET #include <sys/socket.h> /* Might include <sys/bsdtypes.h> */ #endif +#endif #ifdef I_SYS_TIME #include <sys/time.h> #endif |