1 2 3 4 5 6 7 8 9 10 11 12 13
--- php_http_url.c.orig 2015-04-08 10:14:19 UTC +++ php_http_url.c @@ -27,6 +27,10 @@ # include <arpa/inet.h> #endif +#if defined(__FreeBSD__) || defined(__DragonFly__) +#include <stddef.h> +#endif + #include "php_http_utf8.h" static inline char *localhostname(void)