diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-16 22:02:00 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-16 22:02:00 +0000 |
commit | 3a391ef6c247a0eee78ce93cf3c3ab5617dc06d9 (patch) | |
tree | 43a618cb2507489be74cf3b52a18d4be5110fe58 /form.c | |
parent | tgetstr("Km", &pt) cannot be used to detect is_xterm (diff) | |
download | w3m-3a391ef6c247a0eee78ce93cf3c3ab5617dc06d9.tar.gz w3m-3a391ef6c247a0eee78ce93cf3c3ab5617dc06d9.zip |
follow autoconf conventions, #include cleanups
Diffstat (limited to '')
-rw-r--r-- | form.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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"); |