stdint.h stdbool.h stdio.h stdlib.h string.h strings.h sysexits.h \
syslog.h tar.h termcap.h termios.h time.h timers.h tools.h \
ttyent.h ucontext.h unistd.h utime.h utmp.h wchar.h wctype.h \
- hgfs.h tzfile.h util.h
+ hgfs.h tzfile.h util.h fetch.h
INCS+= arpa/inet.h
INCS+= minix/a.out.h minix/bitmap.h minix/callnr.h minix/cdrom.h \
minix/com.h minix/config.h minix/const.h minix/cpufeature.h \
LIB= fetch
SRCS= fetch.c common.c ftp.c http.c file.c
#DPSRCS= ftperr.h httperr.h
-INCSDIR= /usr/include
-INCS= fetch.h
-MAN= fetch.3
# CLEANFILES= ftperr.h httperr.h
MKLINT= no
MKPIC= no
#include <signal.h>
#endif
-#include "fetch.h"
#include "common.h"
/*** Local data **************************************************************/
#ifndef _COMMON_H_INCLUDED
#define _COMMON_H_INCLUDED
+#include <fetch.h>
+
#define FTP_DEFAULT_PORT 21
#define HTTP_DEFAULT_PORT 80
#define FTP_DEFAULT_PROXY_PORT 21
#include <stdlib.h>
#include <string.h>
-#include "fetch.h"
#include "common.h"
auth_t fetchAuthMethod;
#include <string.h>
#include <unistd.h>
-#include "fetch.h"
#include "common.h"
static int fetch_stat_file(int, struct url_stat *);
#include <time.h>
#include <unistd.h>
-#include "fetch.h"
#include "common.h"
#include "ftperr.h"
#include <arpa/inet.h>
-#include "fetch.h"
#include "common.h"
#include "httperr.h"
readv.3 realpath.3 regex.3 remainder.3 resolver.3 scanf.3 \
servxcheck.3 setbuf.3 setjmp.3 sigset.3 sleep.3 stdarg.3 \
stdio.3 string.3 strtol.3 syslog.3 system.3 termcap.3 \
- termios.3 time2posix.3 ttyname.3 ttyslot.3 ungetc.3
+ termios.3 time2posix.3 ttyname.3 ttyslot.3 ungetc.3 fetch.3
.include <bsd.man.mk>
.include <bsd.subdir.mk>