summaryrefslogtreecommitdiff
path: root/ace/os_include/poll.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/os_include/poll.h')
-rw-r--r--ace/os_include/poll.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/ace/os_include/poll.h b/ace/os_include/poll.h
new file mode 100644
index 00000000000..c00140f60cd
--- /dev/null
+++ b/ace/os_include/poll.h
@@ -0,0 +1,31 @@
+// -*- C++ -*-
+
+//=============================================================================
+/**
+ * @file poll.h
+ *
+ * definitions for the poll() function
+ *
+ * $Id$
+ *
+ * @author Don Hinton <dhinton@ieee.org>
+ * @author This code was originally in various places including ace/OS.h.
+ */
+//=============================================================================
+
+#ifndef ACE_OS_INCLUDE_POLL_H
+#define ACE_OS_INCLUDE_POLL_H
+
+#include "ace/pre.h"
+
+#include "ace/config-all.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#if !defined (ACE_LACKS_POLL_H)
+# include /**/ <poll.h>
+#endif /* !ACE_LACKS_POLL_H */
+
+#endif /* ACE_OS_INCLUDE_POLL_H */