Changeset 299


Ignore:
Timestamp:
Nov 6, 2010, 8:19:54 AM (14 years ago)
Author:
katerina
Message:

Fix AIX 5.3 compile error (ticket #223).

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r295 r299  
    1212dnl start
    1313dnl
    14 AM_INIT_AUTOMAKE(samhain, 2.8.0)
     14AM_INIT_AUTOMAKE(samhain, 2.8.1)
    1515AC_DEFINE([SAMHAIN], 1, [Application is samhain])
    1616AC_CANONICAL_HOST
  • trunk/docs/Changelog

    r295 r299  
     12.8.1:
     2        * fix compile error on AIX 5.3 with --enable-login-watch,
     3          reported by M. El Nahass (time.h missing in src/sh_login_track.c)
     4
    152.8.0:
    26        * Support IPv6
  • trunk/src/sh_login_track.c

    r295 r299  
    5555#define SH_UTMP_S utmp
    5656
     57#endif
     58
     59
     60#if TIME_WITH_SYS_TIME
     61#include <sys/time.h>
     62#include <time.h>
     63#else
     64#if HAVE_SYS_TIME_H
     65#include <sys/time.h>
     66#else
     67#include <time.h>
     68#endif
    5769#endif
    5870
Note: See TracChangeset for help on using the changeset viewer.