summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2013-05-21 21:50:11 +0000
committered <ed@FreeBSD.org>2013-05-21 21:50:11 +0000
commit0e6ababbb2dcf9f1dd73a40620f02069fb32297b (patch)
tree90023cf1b288345bc9e217e39fc3158885376fb3
parent3e86f64f24209f517b379421f25658d8da32118e (diff)
downloadFreeBSD-src-0e6ababbb2dcf9f1dd73a40620f02069fb32297b.zip
FreeBSD-src-0e6ababbb2dcf9f1dd73a40620f02069fb32297b.tar.gz
Add proper prerequisites for even two more headers.
Spotted by: http://hacks.owlfolio.org/header-survey/
-rw-r--r--include/protocols/rwhod.h4
-rw-r--r--sys/sys/timex.h3
2 files changed, 6 insertions, 1 deletions
diff --git a/include/protocols/rwhod.h b/include/protocols/rwhod.h
index f63bf76..49191a2 100644
--- a/include/protocols/rwhod.h
+++ b/include/protocols/rwhod.h
@@ -34,13 +34,15 @@
#ifndef _PROTOCOLS_RWHOD_H_
#define _PROTOCOLS_RWHOD_H_
+#include <sys/_types.h>
+
/*
* rwho protocol packet format.
*/
struct outmp {
char out_line[8]; /* tty name */
char out_name[8]; /* user id */
- int32_t out_time; /* time on */
+ __int32_t out_time; /* time on */
};
struct whod {
diff --git a/sys/sys/timex.h b/sys/sys/timex.h
index cf877ff..d9d13a8 100644
--- a/sys/sys/timex.h
+++ b/sys/sys/timex.h
@@ -97,6 +97,9 @@
#define _SYS_TIMEX_H_ 1
#define NTP_API 4 /* NTP API version */
+#ifdef __FreeBSD__
+#include <sys/_timespec.h>
+#endif /* __FreeBSD__ */
#ifndef MSDOS /* Microsoft specific */
#include <sys/syscall.h>
#endif /* MSDOS */
OpenPOWER on IntegriCloud