#18 Bug in define.h

open
nobody
None
5
2001-08-07
2001-08-07
Anonymous
No

On RH7.1 linux (at least), a bug is exposed in
define.h.

Without this patch struct tm is never defined.

#Index: define.h

RCS file: /cvsroot/queue/queue-development/define.h,v
retrieving revision 1.3
diff -c -r1.3 define.h
*** define.h 2001/04/11 15:29:29 1.3
--- define.h 2001/08/07 13:17:51
***************
*** 134,140 ****
#include <syslog.h>
#endif
#include <termios.h>
! #ifdef TM_WITH_SYS_TIME
#ifdef HAVE_TIME_H
#include <time.h>
#endif
--- 134,140 ----
#include <syslog.h>
#endif
#include <termios.h>
! #if 1
#ifdef HAVE_TIME_H
#include <time.h>
#endif

Discussion