projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
- use gethostname() if available in http_build_url()
[m6w6/ext-http]
/
php_http.h
diff --git
a/php_http.h
b/php_http.h
index 7e82c04037a7073e6b6ea59561f1fe0b27c7baa5..4aa2679dd2ccb5a7b76574c7422f0ba43085dd7c 100644
(file)
--- a/
php_http.h
+++ b/
php_http.h
@@
-47,6
+47,9
@@
# elif defined(HAVE_NETDB_H)
# define HTTP_HAVE_NETDB
# include <netdb.h>
+# ifdef HAVE_UNISTD_H
+# include <unistd.h>
+# endif
# endif
#endif