Fossil

Check-in [339a0f49d2]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Reorder some #includes for OpenBSD.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 339a0f49d21e02a0c101a5b6d94a65a9da259358
User & Date: drh 2011-12-16 15:10:56.810
Context
2011-12-17
13:19
Add the "test-date-format" command and the date_override option to tickets. check-in: 44f028c9f8 user: drh tags: trunk
2011-12-16
22:00
Add SSL SNI support (suggested by BohwaZ on mailing list). Simplify setting of port for SSL connection. Closed-Leaf check-in: 132dbcedbc user: dmitry tags: dmitry-fixes
15:10
Reorder some #includes for OpenBSD. check-in: 339a0f49d2 user: drh tags: trunk
2011-12-13
14:05
Update the release date on the change log. check-in: 489c67ae46 user: drh tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/http_socket.c.
31
32
33
34
35
36
37

38
39
40
41
42
43
44
45
46
47
48
#if defined(_WIN32)
#  include <windows.h>           /* for Sleep once server works again */
#  define sleep Sleep            /* windows does not have sleep, but Sleep */
#  if defined(__MINGW32__)
#    include <ws2tcpip.h>          
#  endif
#else

#  include <arpa/inet.h>
#  include <sys/socket.h>
#  include <netdb.h>
#  include <netinet/in.h>
#endif
#include <assert.h>
#include <sys/types.h>
#include <signal.h>

/*
** There can only be a single socket connection open at a time.







>



<







31
32
33
34
35
36
37
38
39
40
41

42
43
44
45
46
47
48
#if defined(_WIN32)
#  include <windows.h>           /* for Sleep once server works again */
#  define sleep Sleep            /* windows does not have sleep, but Sleep */
#  if defined(__MINGW32__)
#    include <ws2tcpip.h>          
#  endif
#else
#  include <netinet/in.h>
#  include <arpa/inet.h>
#  include <sys/socket.h>
#  include <netdb.h>

#endif
#include <assert.h>
#include <sys/types.h>
#include <signal.h>

/*
** There can only be a single socket connection open at a time.