projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
add files and tweaks needed for MPE/iX port (via PM)
[p5sagit/p5-mst-13.2.git]
/
ext
/
Socket
/
Socket.xs
diff --git
a/ext/Socket/Socket.xs
b/ext/Socket/Socket.xs
index
ec0f633
..
9c80c3d
100644
(file)
--- a/
ext/Socket/Socket.xs
+++ b/
ext/Socket/Socket.xs
@@
-7,6
+7,11
@@
# include <sys/types.h>
# endif
#include <sys/socket.h>
+#ifdef MPE
+# define PF_INET AF_INET
+# define PF_UNIX AF_UNIX
+# define SOCK_RAW 3
+#endif
#ifdef I_SYS_UN
#include <sys/un.h>
#endif