summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/dbm/dbm.c3
-rw-r--r--ext/gdbm/gdbm.c3
-rw-r--r--ext/sdbm/init.c3
-rw-r--r--ext/socket/socket.c7
4 files changed, 0 insertions, 16 deletions
diff --git a/ext/dbm/dbm.c b/ext/dbm/dbm.c
index c68c5b427e..5377b4b6e3 100644
--- a/ext/dbm/dbm.c
+++ b/ext/dbm/dbm.c
@@ -18,9 +18,6 @@
#include <ndbm.h>
#include <fcntl.h>
#include <errno.h>
-#ifdef USE_CWGUSI
-# include <sys/errno.h>
-#endif
VALUE cDBM;
diff --git a/ext/gdbm/gdbm.c b/ext/gdbm/gdbm.c
index b4d8212717..3bf9669543 100644
--- a/ext/gdbm/gdbm.c
+++ b/ext/gdbm/gdbm.c
@@ -13,9 +13,6 @@
#include <gdbm.h>
#include <fcntl.h>
#include <errno.h>
-#ifdef USE_CWGUSI
-# include <sys/errno.h>
-#endif
VALUE cGDBM;
diff --git a/ext/sdbm/init.c b/ext/sdbm/init.c
index 5ebffcb9fd..b28b8e3ad2 100644
--- a/ext/sdbm/init.c
+++ b/ext/sdbm/init.c
@@ -15,9 +15,6 @@
#include "sdbm.h"
#include <fcntl.h>
#include <errno.h>
-#ifdef USE_CWGUSI
-# include <sys/errno.h>
-#endif
VALUE cSDBM;
diff --git a/ext/socket/socket.c b/ext/socket/socket.c
index ac79d89134..aee13a1a19 100644
--- a/ext/socket/socket.c
+++ b/ext/socket/socket.c
@@ -29,13 +29,6 @@
#include <sys/un.h>
#endif
-#ifdef USE_CWGUSI
-extern int fileno(FILE *stream); /* <unix.mac.h> */
-extern int rb_thread_select(int, fd_set*, fd_set*, fd_set*, struct timeval*); /* thread.c */
-# include <sys/errno.h>
-# include <GUSI.h>
-#endif
-
#if defined(HAVE_FCNTL)
#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>