From owner-svn-src-head@FreeBSD.ORG Tue May 21 21:50:12 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 86CF413F; Tue, 21 May 2013 21:50:12 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 78459C1; Tue, 21 May 2013 21:50:12 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4LLoCWD075059; Tue, 21 May 2013 21:50:12 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4LLoCXR075057; Tue, 21 May 2013 21:50:12 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <201305212150.r4LLoCXR075057@svn.freebsd.org> From: Ed Schouten Date: Tue, 21 May 2013 21:50:12 +0000 (UTC) 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 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 May 2013 21:50:12 -0000 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 + /* * 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 +#endif /* __FreeBSD__ */ #ifndef MSDOS /* Microsoft specific */ #include #endif /* MSDOS */