Index: http.c --- http.c.orig 2006-12-09 09:39:26 +0100 +++ http.c 2006-12-10 10:38:26 +0100 @@ -29,6 +29,10 @@ #include "pound.h" +#ifndef SOL_TCP +#define SOL_TCP SOL_SOCKET +#endif + /* HTTP error replies */ static char *h500 = "500 Internal Server Error", *h501 = "501 Not Implemented", Index: pound.h --- pound.h.orig 2006-12-09 09:39:26 +0100 +++ pound.h 2006-12-10 10:38:26 +0100 @@ -31,6 +31,12 @@ #include #include +#if HAVE_PTHREAD_H +#include +#else +#error "Pound needs pthread.h" +#endif + #if HAVE_STDLIB_H #include #else @@ -47,12 +53,6 @@ #include #endif -#if HAVE_PTHREAD_H -#include -#else -#error "Pound needs pthread.h" -#endif - #if HAVE_STRING_H #include #else