Peter Kokot
9 years ago
committed by
Joe Watkins
No known key found for this signature in database
GPG Key ID: F9BA0ADA31CBD89E
2 changed files with
2 additions and
6 deletions
-
NEWS
-
ext/snmp/snmp.c
|
|
|
@ -15,6 +15,7 @@ PHP NEWS |
|
|
|
(Francois Laupretre) |
|
|
|
. Fixed bug #74923 (Crash when crawling through network share). (Anatol) |
|
|
|
. 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 |
|
|
|
|
|
|
|
@ -38,20 +38,15 @@ |
|
|
|
#if HAVE_SNMP |
|
|
|
|
|
|
|
#include <sys/types.h> |
|
|
|
#include <errno.h> |
|
|
|
#ifdef PHP_WIN32 |
|
|
|
#include <winsock2.h> |
|
|
|
#include <errno.h> |
|
|
|
#include <process.h> |
|
|
|
#include "win32/time.h" |
|
|
|
#else |
|
|
|
#include <sys/socket.h> |
|
|
|
#include <netinet/in.h> |
|
|
|
#include <arpa/inet.h> |
|
|
|
#ifndef _OSD_POSIX |
|
|
|
#include <sys/errno.h> |
|
|
|
#else |
|
|
|
#include <errno.h> /* BS2000/OSD uses <errno.h>, not <sys/errno.h> */ |
|
|
|
#endif |
|
|
|
#include <netdb.h> |
|
|
|
#endif |
|
|
|
#ifdef HAVE_UNISTD_H |
|
|
|
|