Index: /trunk/configure.ac
===================================================================
--- /trunk/configure.ac	(revision 298)
+++ /trunk/configure.ac	(revision 299)
@@ -12,5 +12,5 @@
 dnl start
 dnl
-AM_INIT_AUTOMAKE(samhain, 2.8.0)
+AM_INIT_AUTOMAKE(samhain, 2.8.1)
 AC_DEFINE([SAMHAIN], 1, [Application is samhain])
 AC_CANONICAL_HOST
Index: /trunk/docs/Changelog
===================================================================
--- /trunk/docs/Changelog	(revision 298)
+++ /trunk/docs/Changelog	(revision 299)
@@ -1,2 +1,6 @@
+2.8.1:
+	* fix compile error on AIX 5.3 with --enable-login-watch,
+	  reported by M. El Nahass (time.h missing in src/sh_login_track.c)
+
 2.8.0:
 	* Support IPv6
Index: /trunk/src/sh_login_track.c
===================================================================
--- /trunk/src/sh_login_track.c	(revision 298)
+++ /trunk/src/sh_login_track.c	(revision 299)
@@ -55,4 +55,16 @@
 #define SH_UTMP_S utmp
 
+#endif
+
+
+#if TIME_WITH_SYS_TIME
+#include <sys/time.h>
+#include <time.h>
+#else
+#if HAVE_SYS_TIME_H
+#include <sys/time.h>
+#else
+#include <time.h>
+#endif
 #endif
 
