/contrib/cvs/lib/xselect.h

https://bitbucket.org/freebsd/freebsd-head/ · C++ Header · 21 lines · 6 code · 4 blank · 11 comment · 0 complexity · 3f42184ce957cf176e1f585e9758bce2 MD5 · raw file

  1. /* This program is free software; you can redistribute it and/or modify
  2. it under the terms of the GNU General Public License as published by
  3. the Free Software Foundation; either version 2, or (at your option)
  4. any later version.
  5. This program is distributed in the hope that it will be useful,
  6. but WITHOUT ANY WARRANTY; without even the implied warranty of
  7. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  8. GNU General Public License for more details. */
  9. /* This file simply performs the include magic necessary for using select */
  10. /* select also requires <sys/types.h>, "xtime.h", and <unistd.h> */
  11. #ifdef HAVE_SYS_BSDTYPES_H
  12. # include <sys/bsdtypes.h>
  13. #endif
  14. #if HAVE_SYS_SELECT_H
  15. # include <sys/select.h>
  16. #endif