summaryrefslogtreecommitdiff
path: root/lib/xselect.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xselect.h')
-rw-r--r--lib/xselect.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/xselect.h b/lib/xselect.h
new file mode 100644
index 0000000..5605cbd
--- /dev/null
+++ b/lib/xselect.h
@@ -0,0 +1,21 @@
+/* This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details. */
+
+/* This file simply performs the include magic necessary for using select */
+
+/* select also requires <sys/types.h>, "xtime.h", and <unistd.h> */
+
+#ifdef HAVE_SYS_BSDTYPES_H
+# include <sys/bsdtypes.h>
+#endif
+
+#if HAVE_SYS_SELECT_H
+# include <sys/select.h>
+#endif