aboutsummaryrefslogtreecommitdiffstats
path: root/form.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 /form.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--form.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/form.c b/form.c
index a2191ee..cb2e41a 100644
--- a/form.c
+++ b/form.c
@@ -1,5 +1,5 @@
-/* $Id: form.c,v 1.3 2001/11/15 00:32:13 a-ito Exp $ */
+/* $Id: form.c,v 1.4 2001/11/16 22:02:00 ukai Exp $ */
/*
* HTML forms
*/
@@ -648,10 +648,10 @@ form_write_from_file(FILE * f, char *boundary, char *name, char *filename, char
fprintf(f, "Content-Type: %s\r\n\r\n",
type ? type : "application/octet-stream");
-#ifdef READLINK
+#ifdef HAVE_READLINK /* readline == lstat ? (ukai) */
if (lstat(file, &st) < 0)
goto write_end;
-#endif /* READLINK */
+#endif /* HAVE_READLINK */
if (S_ISDIR(st.st_mode))
goto write_end;
fd = fopen(file, "r");