summaryrefslogtreecommitdiff
path: root/vio/vio.c
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2001-10-09 03:35:29 +0300
committermonty@hundin.mysql.fi <>2001-10-09 03:35:29 +0300
commitd5fe1db868a8786bad901a632631c2d94eadfbe6 (patch)
tree07f2a0acc005ba2b7fb714ce60cb6f8417c6f60e /vio/vio.c
parent196f620e9024b12e33125c4be03c867b0fabbfcc (diff)
downloadmariadb-git-d5fe1db868a8786bad901a632631c2d94eadfbe6.tar.gz
One should not only have to include my_net.h to work with sockets.
This wrapper noew will include all the necessary, system specific files, which makes all normal source files much easier to write and maintain. Portability fixes.
Diffstat (limited to 'vio/vio.c')
-rw-r--r--vio/vio.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/vio/vio.c b/vio/vio.c
index 95d318ba118..759f9416ddf 100644
--- a/vio/vio.c
+++ b/vio/vio.c
@@ -25,22 +25,10 @@
#include <my_global.h>
#include <mysql_com.h>
#include <violite.h>
-
#include <errno.h>
-#include <assert.h>
#include <my_sys.h>
#include <my_net.h>
#include <m_string.h>
-#ifdef HAVE_POLL
-#include <sys/poll.h>
-#endif
-#ifdef HAVE_SYS_IOCTL_H
-#include <sys/ioctl.h>
-#endif
-
-#if defined(__EMX__) || defined(OS2)
-#define ioctlsocket ioctl
-#endif /* defined(__EMX__) */
/*
* Helper to fill most of the Vio* with defaults.