diff --git a/appl/telnet/telnetd/telnetd.c b/appl/telnet/telnetd/telnetd.c index 7173a974e..362c683ee 100644 --- a/appl/telnet/telnetd/telnetd.c +++ b/appl/telnet/telnetd/telnetd.c @@ -85,6 +85,9 @@ int registerd_host_only = 0; #ifdef HAVE_SYS_STREAM_H #include #endif +#if defined(_AIX) +#include +#endif # ifdef HAVE_SYS_STRTTY_H # include # endif diff --git a/lib/kafs/kafs.h b/lib/kafs/kafs.h index 3a5475e56..b54d9f399 100644 --- a/lib/kafs/kafs.h +++ b/lib/kafs/kafs.h @@ -9,11 +9,7 @@ #define AFSCALL_SETPAG 21 #ifndef _VICEIOCTL -#if defined(__STDC__) #define _VICEIOCTL(id) ((unsigned int ) _IOW('V', id, struct ViceIoctl)) -#else -#define _VICEIOCTL(id) ((unsigned int ) _IOW(V, id, struct ViceIoctl)) -#endif #endif /* _VICEIOCTL */ #define VIOCSETTOK _VICEIOCTL(3) diff --git a/lib/roken/strftime.c b/lib/roken/strftime.c index 0edba972f..3e429a7ba 100644 --- a/lib/roken/strftime.c +++ b/lib/roken/strftime.c @@ -35,7 +35,16 @@ #include #endif #include +#if TIME_WITH_SYS_TIME #include +#include +#else +#if HAVE_SYS_TIME_H +#include +#else +#include +#endif /* !HAVE_SYS_TIME_H */ +#endif /* !TIME_WITH_SYS_TIME */ #define TM_YEAR_BASE 1900 /* from */ #include