changeset 2092:197e11324ec8

* include/config.h: POSIX provides gettimeofday() * cdl/snmplib.cdl: We require gettimeofday from POSIX
author asl
date Sun, 23 Oct 2005 20:50:16 +0000
parents 0c135c6d644c
children 105ae1490488
files packages/net/snmp/lib/current/ChangeLog packages/net/snmp/lib/current/cdl/snmplib.cdl packages/net/snmp/lib/current/include/config.h
diffstat 3 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/net/snmp/lib/current/ChangeLog
+++ b/packages/net/snmp/lib/current/ChangeLog
@@ -1,3 +1,8 @@
+2005-10-23  Andrew Lunn  <andrew.lunn@ascom.ch>
+
+	* include/config.h: POSIX provides gettimeofday()
+	* cdl/snmplib.cdl: We require gettimeofday from POSIX
+
 2003-03-24  Jonathan Larmour  <jifl@eCosCentric.com>
 
 	* src/keytools.c (decode_keychange): Avoid undefined behaviour.
--- a/packages/net/snmp/lib/current/cdl/snmplib.cdl
+++ b/packages/net/snmp/lib/current/cdl/snmplib.cdl
@@ -64,6 +64,7 @@ cdl_package CYGPKG_SNMPLIB {
     requires      { 0 != CYGINT_ISO_ERRNO }
     requires      { 0 != CYGINT_ISO_ERRNO_CODES }
     requires      CYGPKG_NET
+    requires      CYGPKG_POSIX_TIMERS
     description   "SNMP protocol support library based on the UCD-SNMP project."
 
     compile					\
--- a/packages/net/snmp/lib/current/include/config.h
+++ b/packages/net/snmp/lib/current/include/config.h
@@ -344,7 +344,7 @@ CONNECTION WITH THE USE OR PERFORMANCE O
 //#define HAVE_GETPID 1
 
 /* Define if you have the gettimeofday function.  */
-//#define HAVE_GETTIMEOFDAY 1
+define HAVE_GETTIMEOFDAY 1
 
 /* Define if you have the if_freenameindex function.  */
 //#define HAVE_IF_FREENAMEINDEX 1