Author: ed
Date: Tue May 21 21:50:11 2013
New Revision: 250889
URL: http://svnweb.freebsd.org/changeset/base/250889

Log:
  Add proper prerequisites for even two more headers.
  
  Spotted by:   http://hacks.owlfolio.org/header-survey/

Modified:
  head/include/protocols/rwhod.h
  head/sys/sys/timex.h

Modified: head/include/protocols/rwhod.h
==============================================================================
--- head/include/protocols/rwhod.h      Tue May 21 21:39:18 2013        
(r250888)
+++ head/include/protocols/rwhod.h      Tue May 21 21:50:11 2013        
(r250889)
@@ -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 {

Modified: head/sys/sys/timex.h
==============================================================================
--- head/sys/sys/timex.h        Tue May 21 21:39:18 2013        (r250888)
+++ head/sys/sys/timex.h        Tue May 21 21:50:11 2013        (r250889)
@@ -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 */
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to