diff --git a/appl/popper/popper.h b/appl/popper/popper.h index 826b8b931..d9afdf97d 100644 --- a/appl/popper/popper.h +++ b/appl/popper/popper.h @@ -33,22 +33,48 @@ #include #include #include +#ifdef HAVE_FCNTL_H #include +#endif +#ifdef HAVE_PWD_H #include +#endif +#ifdef HAVE_SYS_TYPES_H #include +#endif +#ifdef HAVE_UNISTD_H #include +#endif +#ifdef HAVE_SYS_STAT_H #include +#endif +#ifdef HAVE_SYS_FILE_H #include +#endif +#ifdef HAVE_SYS_TIME_H #include +#endif #ifdef HAVE_SYS_RESOURCE_H #include #endif +#ifdef HAVE_SYS_WAIT_H #include +#endif +#ifdef HAVE_SYS_SOCKET_H #include +#endif +#ifdef HAVE_NETINET_IN_H #include +#endif +#ifdef HAVE_NETDB_H #include +#endif +#ifdef HAVE_ARPA_INET_H #include +#endif +#ifdef HAVE_SYSLOG_H #include +#endif #include "version.h" #include @@ -245,5 +271,5 @@ state_table *pop_get_command(POP *p, char *mp); void pop_lower(char *buf); xtnd_table *pop_get_subcommand(POP *p); -int pop_log __P((POP *p, int stat, char *format, ...)); -int pop_msg __P((POP *p, int stat, char *format, ...)); +int pop_log(POP *p, int stat, char *format, ...); +int pop_msg(POP *p, int stat, char *format, ...);