aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-11-16 22:02:00 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-11-16 22:02:00 +0000
commit3a391ef6c247a0eee78ce93cf3c3ab5617dc06d9 (patch)
tree43a618cb2507489be74cf3b52a18d4be5110fe58 /main.c
parenttgetstr("Km", &pt) cannot be used to detect is_xterm (diff)
downloadw3m-3a391ef6c247a0eee78ce93cf3c3ab5617dc06d9.tar.gz
w3m-3a391ef6c247a0eee78ce93cf3c3ab5617dc06d9.zip
follow autoconf conventions, #include cleanups
Diffstat (limited to '')
-rw-r--r--main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/main.c b/main.c
index 923251d..4213502 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.6 2001/11/16 17:25:52 ukai Exp $ */
+/* $Id: main.c,v 1.7 2001/11/16 22:02:00 ukai Exp $ */
#define MAINPROGRAM
#include "fm.h"
#include <signal.h>
@@ -13,7 +13,7 @@
#ifdef USE_GPM
#include <gpm.h>
#endif /* USE_GPM */
-#ifdef __EMX__
+#ifdef __EMX__ /* HAVE_TIME_H? */
#include <time.h> /* for time() */
#endif /* __EMX__ */
#if defined(USE_GPM) || defined(USE_SYSMOUSE)
@@ -263,9 +263,9 @@ MAIN(int argc, char **argv, char **envp)
char *post_file = NULL;
Str err_msg;
-#ifndef SYS_ERRLIST
+#ifndef HAVE_SYS_ERRLIST
prepare_sys_errlist();
-#endif /* not SYS_ERRLIST */
+#endif /* not HAVE_SYS_ERRLIST */
srand48(time(0));