Changeset 25

Show
Ignore:
Timestamp:
09/03/06 12:50:46 (8 years ago)
Author:
richdawe
Message:

sol_compat.h: Pull in <sys/time.h> for proto of gettimeofday (fixes warnings)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/configure.ac

    r24 r25  
    1818AC_C_INLINE 
    1919 
    20 AC_CHECK_HEADERS([sys/mman.h sys/sysmacros.h]) 
     20AC_CHECK_HEADERS([sys/mman.h sys/sysmacros.h sys/time.h]) 
    2121 
    2222AC_CONFIG_HEADERS([config.h]) 
  • trunk/sol_compat.h

    r9 r25  
    1111#include <stdint.h> 
    1212#include <pthread.h> 
     13 
     14#ifdef HAVE_SYS_TIME_H 
     15#include <sys/time.h> 
     16#endif 
    1317 
    1418#ifdef _WIN32