PageRenderTime 45ms CodeModel.GetById 38ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 1ms

/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
 6   This program is distributed in the hope that it will be useful,
 7   but WITHOUT ANY WARRANTY; without even the implied warranty of
 8   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 9   GNU General Public License for more details.  */
10
11/* This file simply performs the include magic necessary for using select */
12
13/* select also requires <sys/types.h>, "xtime.h", and <unistd.h> */
14
15#ifdef HAVE_SYS_BSDTYPES_H
16# include <sys/bsdtypes.h>
17#endif
18
19#if HAVE_SYS_SELECT_H
20# include <sys/select.h>
21#endif