/[jscoverage]/trunk/http-server.h
ViewVC logotype

Diff of /trunk/http-server.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 124 by siliconforks, Sat May 31 21:42:36 2008 UTC revision 125 by siliconforks, Mon Jun 2 17:52:38 2008 UTC
# Line 24  Line 24 
24  #include <stdint.h>  #include <stdint.h>
25  #include <stdlib.h>  #include <stdlib.h>
26    
27  #ifdef _WIN32  #ifdef __MINGW32__
28  #include <winsock2.h>  #include <winsock2.h>
29    typedef int socklen_t;
30  #else  #else
31    #include <arpa/inet.h>
32    #include <netdb.h>
33  #include <netinet/in.h>  #include <netinet/in.h>
34    #include <sys/socket.h>
35    #include <unistd.h>
36  typedef int SOCKET;  typedef int SOCKET;
37    #define INVALID_SOCKET (-1)
38    #define closesocket close
39  #endif  #endif
40    
41  #include "stream.h"  #include "stream.h"
# Line 193  Line 200 
200    
201  int xgethostbyname(const char * host, struct in_addr * result) __attribute__((warn_unused_result));  int xgethostbyname(const char * host, struct in_addr * result) __attribute__((warn_unused_result));
202    
203    #ifndef HAVE_INET_ATON
204    int inet_aton(const char * name, struct in_addr * a);
205    #endif
206    
207  #endif /* HTTP_SERVER_H_ */  #endif /* HTTP_SERVER_H_ */

Legend:
Removed from v.124  
changed lines
  Added in v.125

  ViewVC Help
Powered by ViewVC 1.1.24