summaryrefslogtreecommitdiff
path: root/os2/os2ish.h
diff options
context:
space:
mode:
Diffstat (limited to 'os2/os2ish.h')
-rw-r--r--os2/os2ish.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/os2/os2ish.h b/os2/os2ish.h
index 225d271236..0da62aad27 100644
--- a/os2/os2ish.h
+++ b/os2/os2ish.h
@@ -740,6 +740,7 @@ char *perllib_mangle(char *, unsigned int);
#define fork fork_with_resources
+#ifdef EINTR /* x2p do not include perl.h!!! */
static __inline__ int
my_select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout)
{
@@ -753,6 +754,7 @@ my_select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct
}
#define select my_select
+#endif
typedef int (*Perl_PFN)();