replaced #if with #ifdefs to silence GCC 3.4 warnings

This commit is contained in:
Radim Kolar 2009-08-30 21:53:43 +02:00
parent aaa1bcb8e9
commit 089bc0dee4

View File

@ -33,14 +33,14 @@
#include <grp.h> #include <grp.h>
#include <pwd.h> #include <pwd.h>
#include <utmp.h> #include <utmp.h>
#if TIME_WITH_SYS_TIME #ifdef TIME_WITH_SYS_TIME
# include <sys/time.h>
# include <time.h>
#else
# if HAVE_SYS_TIME_H
# include <sys/time.h> # include <sys/time.h>
# else
# include <time.h> # include <time.h>
#else
# ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
# else
# include <time.h>
# endif # endif
#endif #endif
#include "my-string.h" #include "my-string.h"