Fix build error on extremely new -current caused by this:

===
src/sys/sys/socket.h:
----------------------------
revision 1.38
date: 2000/03/03 11:13:03;  author: shin;  state: Exp;  lines: +8 -13
CMSG_XXX macros alignment fixes to follow RFC2292.

Approved by: jkh

Submitted by: Partly from tech@openbsd
Reviewed by: itojun
---------------------------
===

Basically you need to include <machine/param.h> before <signal.h>.

Problem diagnosed by:	Ade Lovett <ade@FreeBSD.org>
This commit is contained in:
Satoshi Asami 2000-03-11 01:52:48 +00:00
parent f3249eca36
commit 410e4dd70f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=26733
3 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,10 @@
--- ./zvt/gnome-pty-helper.c.org Mon Feb 21 14:41:10 2000
+++ ./zvt/gnome-pty-helper.c Fri Mar 10 17:21:20 2000
@@ -41,6 +41,7 @@
#include <limits.h>
#include <unistd.h>
#include <string.h>
+#include <machine/param.h>
#include <signal.h>
#include <fcntl.h>
#include <termios.h>

View file

@ -0,0 +1,10 @@
--- ./zvt/gnome-pty-helper.c.org Mon Feb 21 14:41:10 2000
+++ ./zvt/gnome-pty-helper.c Fri Mar 10 17:21:20 2000
@@ -41,6 +41,7 @@
#include <limits.h>
#include <unistd.h>
#include <string.h>
+#include <machine/param.h>
#include <signal.h>
#include <fcntl.h>
#include <termios.h>

View file

@ -0,0 +1,10 @@
--- ./zvt/gnome-pty-helper.c.org Mon Feb 21 14:41:10 2000
+++ ./zvt/gnome-pty-helper.c Fri Mar 10 17:21:20 2000
@@ -41,6 +41,7 @@
#include <limits.h>
#include <unistd.h>
#include <string.h>
+#include <machine/param.h>
#include <signal.h>
#include <fcntl.h>
#include <termios.h>