From: Peter Kokot Date: Tue, 11 Jul 2017 22:41:43 +0000 (+0200) Subject: Fixed bug #74906 redirecting incorrect include X-Git-Tag: php-7.0.22RC1~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d08b9dac0d42d93ed1c6f0617e1426f013b981f;p=php Fixed bug #74906 redirecting incorrect include --- diff --git a/NEWS b/NEWS index 19dc26829b..b3c9d6fb9d 100644 --- a/NEWS +++ b/NEWS @@ -10,6 +10,7 @@ PHP NEWS . Fixed bug #74761 (Unary operator expected error on some systems). (petk) . Fixed bug #73900 (Use After Free in unserialize() SplFixedArray). (nikic) . Fixed bug #74913 (fixed incorrect poll.h include). (petk) + . Fixed bug #74906 (fixed incorrect errno.h include). (petk) - Date: . Fixed bug #74852 (property_exists returns true on unknown DateInterval diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c index 7e299999a6..1605f0c6eb 100644 --- a/ext/snmp/snmp.c +++ b/ext/snmp/snmp.c @@ -41,9 +41,9 @@ #if HAVE_SNMP #include +#include #ifdef PHP_WIN32 #include -#include #include #include "win32/time.h" #elif defined(NETWARE) @@ -52,17 +52,11 @@ #else #include #endif -#include #include #else #include #include #include -#ifndef _OSD_POSIX -#include -#else -#include /* BS2000/OSD uses , not */ -#endif #include #endif #ifdef HAVE_UNISTD_H