Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 May 2013 21:50:12 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r250889 - in head: include/protocols sys/sys
Message-ID:  <201305212150.r4LLoCXR075057@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305212150.r4LLoCXR075057>