diff options
author | mrcsys | 2006-05-01 17:51:50 +0000 |
---|---|---|
committer | mrcsys | 2006-05-01 17:51:50 +0000 |
commit | c41f3517d50ae8f6c203ababd347bf2105d17b18 (patch) | |
tree | 8e84bc95d2fccafa4347edded9b33306aee7e1ad /nanohttp/nanohttp-socket.h | |
parent | 417555bf235d2ca473530b9c69c2a77c7cfdc444 (diff) | |
download | csoap-c41f3517d50ae8f6c203ababd347bf2105d17b18.tar.gz csoap-c41f3517d50ae8f6c203ababd347bf2105d17b18.tar.bz2 |
Some fixes because recent changes did not work in WIN32. Now should be compat
Diffstat (limited to 'nanohttp/nanohttp-socket.h')
-rw-r--r-- | nanohttp/nanohttp-socket.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/nanohttp/nanohttp-socket.h b/nanohttp/nanohttp-socket.h index fd05040..5c1554d 100644 --- a/nanohttp/nanohttp-socket.h +++ b/nanohttp/nanohttp-socket.h @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: nanohttp-socket.h,v 1.27 2006/04/26 17:48:30 mrcsys Exp $ + * $Id: nanohttp-socket.h,v 1.28 2006/05/01 17:51:50 mrcsys Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -25,8 +25,14 @@ #define NANO_HTTP_SOCKET_H #include <sys/types.h> + +#ifdef HAVE_SOCKET_H #include <sys/socket.h> +#endif + +#ifdef HAVE_NETINET_IN_H #include <netinet/in.h> +#endif #include <time.h> |