diff options
author | harti <harti@FreeBSD.org> | 2005-10-05 15:19:56 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2005-10-05 15:19:56 +0000 |
commit | ebda350f0af3ecb21e866c148b944c694e0dd4b1 (patch) | |
tree | 73ed9706b0711e0d27bcf18f07453f4f129c7643 /contrib/bsnmp/snmp_ntp | |
parent | 2c41d20bdd2862e3e085bc34a7e2d5ef5e4142cc (diff) | |
parent | 1973a24241e1546ff01c2e658c24e17f7ac6b29e (diff) | |
download | FreeBSD-src-ebda350f0af3ecb21e866c148b944c694e0dd4b1.zip FreeBSD-src-ebda350f0af3ecb21e866c148b944c694e0dd4b1.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r150974,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/bsnmp/snmp_ntp')
-rw-r--r-- | contrib/bsnmp/snmp_ntp/snmp_ntp.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/bsnmp/snmp_ntp/snmp_ntp.c b/contrib/bsnmp/snmp_ntp/snmp_ntp.c index b798847..830c01f 100644 --- a/contrib/bsnmp/snmp_ntp/snmp_ntp.c +++ b/contrib/bsnmp/snmp_ntp/snmp_ntp.c @@ -55,6 +55,16 @@ #include "ntp_tree.h" #include "ntp_oid.h" +#if !defined(INT32_MIN) +#define INT32_MIN (-0x7fffffff-1) +#endif +#if !defined(INT32_MAX) +#define INT32_MAX (0x7fffffff) +#endif +#if !defined(UINT32_MAX) +#define UINT32_MAX (0xffffffff) +#endif + #define NTPC_MAX 576 #define NTPC_VERSION 3 #define NTPC_MODE 6 |