summaryrefslogtreecommitdiff
path: root/sql/udf_example.c
diff options
context:
space:
mode:
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 db48984eed8..30d85d95034 100644
--- a/sql/udf_example.c
+++ b/sql/udf_example.c
@@ -683,7 +683,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>