diff options
Diffstat (limited to 'ext/snmp/snmp.c')
-rw-r--r-- | ext/snmp/snmp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c index 7696760713..2128648e53 100644 --- a/ext/snmp/snmp.c +++ b/ext/snmp/snmp.c @@ -91,7 +91,11 @@ #include "keytools.h" #include "parse.h" #include "mib.h" -#include "version.h" +#ifndef PHP_WIN32 +/* this doesn't appear to be needed under win32 (perhaps at all) + * and the header file is not present in my UCD-SNMP headers */ +# include "version.h" +#endif #include "transform_oids.h" #endif /* Ugly macro, since the length of OIDs in UCD-SNMP and NET-SNMP |