The header file is required to compile sarg on windows but its
availability was not checked in the configuration script.
AC_CHECK_HEADERS(stdio.h stdlib.h string.h strings.h sys/time.h time.h unistd.h sys/dirent.h \
dirent.h sys/types.h sys/socket.h netdb.h arpa/inet.h netinet/in.h sys/stat.h \
ctype.h errno.h sys/resource.h sys/wait.h stdarg.h inttypes.h limits.h locale.h \
- execinfo.h math.h libintl.h libgen.h stdbool.h getopt.h fcntl.h fnmatch.h)
+ execinfo.h math.h libintl.h libgen.h stdbool.h getopt.h fcntl.h fnmatch.h \
+ winsock.h)
if test $ac_cv_header_getopt_h = "no" ; then
AC_MSG_ERROR("getopt.h is required to compile sarg")