summaryrefslogtreecommitdiff
path: root/sql/udf_example.c
diff options
context:
space:
mode:
authormonty@mysql.com/narttu.mysql.fi <>2007-02-23 22:48:15 +0200
committermonty@mysql.com/narttu.mysql.fi <>2007-02-23 22:48:15 +0200
commit520d1b414455668e32e46e7b217257ebcb766bb2 (patch)
tree9a321f9e0de20010f1b6404c37f8f704e33711a6 /sql/udf_example.c
parent6d78655a97a42626dd05555f8a6780fa927a0ee4 (diff)
downloadmariadb-git-520d1b414455668e32e46e7b217257ebcb766bb2.tar.gz
Fixed compilations problems and warnings on windows
Diffstat (limited to 'sql/udf_example.c')
-rw-r--r--sql/udf_example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/udf_example.c b/sql/udf_example.c
index 2bb4fe92d2f..d37c6505ced 100644
--- a/sql/udf_example.c
+++ b/sql/udf_example.c
@@ -684,7 +684,7 @@ longlong sequence(UDF_INIT *initid __attribute__((unused)), UDF_ARGS *args,
****************************************************************************/
#ifdef __WIN__
-#include <winsock.h>
+#include <winsock2.h>
#else
#include <sys/socket.h>
#include <netinet/in.h>