-
Notifications
You must be signed in to change notification settings - Fork 326
missing header for inet_ntoa #473
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -392,6 +392,8 @@ if test "$PHP_MEMCACHED" != "no"; then | |||
|
|||
CFLAGS="$ORIG_CFLAGS" | |||
|
|||
AC_CHECK_HEADERS([arpa/inet.h]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is optional as already done in php, but seems more robust (PHP can change)
PHP source code includes the specific heater where |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Additional notes: inet_ntoa seems bad... only manage IPV4.... will be better to switch to inet_ntop or any other solution compatible with IPv6 (but out of the scope of this PR) |
|
I think we can do something like:
BTW a much more simpler approach will be to use PHP API and |
Hold on 😄 I have a PR in the works, actually making |
Heh, that actually looks even better, gonna adapt your safe version. Re: |
Given that this API is not documented and was unusable until now, I'll go with |
Yes, I noticed that....
Great +1 Will close this one when your will be ready. |
#474 really better |
To avoid