From 2cd692786f751b7fecf7d288dc436528dfebb4f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Tue, 10 Feb 1998 17:12:54 -0800 Subject: [PATCH] s/winsock2/winsock/ Rev: src/modules/spider/configure.in:1.22 Rev: src/modules/spider/dumudp.c:1.33 Rev: src/modules/system/configure.in:1.18 Rev: src/modules/system/system.c:1.41 --- src/modules/spider/configure.in | 2 +- src/modules/spider/dumudp.c | 6 +++--- src/modules/system/configure.in | 2 +- src/modules/system/system.c | 8 ++++---- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/modules/spider/configure.in b/src/modules/spider/configure.in index aea4975c77..3d32656977 100644 --- a/src/modules/spider/configure.in +++ b/src/modules/spider/configure.in @@ -12,7 +12,7 @@ AC_CHECK_LIB(nsl, gethostbyname) AC_HAVE_HEADERS(arpa/inet.h sys/socketvar.h sys/protosw.h \ netinet/in.h sys/mman.h sys/utsname.h netdb.h sys/socket.h \ sync.h sys/sockio.h sys/conf.h stropts.h sys/param.h\ - sys/uio.h linux/mman.h sys/stream.h unistd.h winsock2.h) + sys/uio.h linux/mman.h sys/stream.h unistd.h winsock.h) AC_FUNC_MMAP diff --git a/src/modules/spider/dumudp.c b/src/modules/spider/dumudp.c index 2beb517267..2cea665ab0 100644 --- a/src/modules/spider/dumudp.c +++ b/src/modules/spider/dumudp.c @@ -1,7 +1,7 @@ #include "config.h" #include "global.h" -RCSID("$Id: dumudp.c,v 1.32 1998/01/25 08:28:24 hubbe Exp $"); +RCSID("$Id: dumudp.c,v 1.33 1998/02/11 01:10:57 hubbe Exp $"); #include "fdlib.h" #include "interpret.h" #include "svalue.h" @@ -32,8 +32,8 @@ RCSID("$Id: dumudp.c,v 1.32 1998/01/25 08:28:24 hubbe Exp $"); #include <sys/socket.h> #endif -#ifdef HAVE_WINSOCK2_H -#include <winsock2.h> +#ifdef HAVE_WINSOCK_H +#include <winsock.h> #endif #if ! defined(EWOULDBLOCK) && defined(WSAEWOULDBLOCK) diff --git a/src/modules/system/configure.in b/src/modules/system/configure.in index b7a1479d44..75ab3b9b5e 100644 --- a/src/modules/system/configure.in +++ b/src/modules/system/configure.in @@ -9,7 +9,7 @@ AC_CHECK_LIB(nsl, gethostbyname) AC_HAVE_HEADERS(syslog.h sys/syslog.h sys/types.h errno.h unistd.h pwd.h \ sys/conf.h sys/socket.h netinet/in.h arpa/inet.h netdb.h stdarg.h \ - sys/utsname.h pwd.h passwd.h shadow.h grp.h sys/stat.h winsock2.h \ + sys/utsname.h pwd.h passwd.h shadow.h grp.h sys/stat.h winsock.h \ windows.h ) AC_HAVE_FUNCS(syslog link symlink readlink chown \ diff --git a/src/modules/system/system.c b/src/modules/system/system.c index 6081b3f5d1..e783b8b84f 100644 --- a/src/modules/system/system.c +++ b/src/modules/system/system.c @@ -1,5 +1,5 @@ /* - * $Id: system.c,v 1.40 1998/01/30 06:21:37 hubbe Exp $ + * $Id: system.c,v 1.41 1998/02/11 01:12:54 hubbe Exp $ * * System-call module for Pike * @@ -14,9 +14,9 @@ #include "system.h" #include "global.h" -RCSID("$Id: system.c,v 1.40 1998/01/30 06:21:37 hubbe Exp $"); -#ifdef HAVE_WINSOCK2_H -#include <winsock2.h> +RCSID("$Id: system.c,v 1.41 1998/02/11 01:12:54 hubbe Exp $"); +#ifdef HAVE_WINSOCK_H +#include <winsock.h> #endif #ifdef HAVE_WINDOWS_H -- GitLab