Unbreak on -current where _types.h got a new prerequisite (sys/cdefs.h)
by me. Unfortunately we don't have a __FreeBSD_Version for this, so the change isn't limited to -current, it's for >= 500039. Famous last words: it shouldn't hurt. Requested by: portmgr (kris)
This commit is contained in:
parent
9065223e4f
commit
d44a718b6e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=134406
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
--- gcc/ginclude/stddef.h.orig Wed Dec 16 22:19:25 1998
|
--- gcc/ginclude/stddef.h.orig Wed Dec 16 22:19:25 1998
|
||||||
+++ gcc/ginclude/stddef.h Sun Dec 22 18:18:47 2002
|
+++ gcc/ginclude/stddef.h Sun Dec 22 18:18:47 2002
|
||||||
@@ -25,8 +25,15 @@
|
@@ -25,8 +25,16 @@
|
||||||
/* On 4.3bsd-net2, make sure ansi.h is included, so we have
|
/* On 4.3bsd-net2, make sure ansi.h is included, so we have
|
||||||
one less case to deal with in the following. */
|
one less case to deal with in the following. */
|
||||||
#if defined (__BSD_NET2__) || defined (____386BSD____) || defined (__FreeBSD__) || defined(__NetBSD__)
|
#if defined (__BSD_NET2__) || defined (____386BSD____) || defined (__FreeBSD__) || defined(__NetBSD__)
|
||||||
|
@ -8,6 +8,7 @@
|
||||||
+#define __NO_GNUC_VA_LIST
|
+#define __NO_GNUC_VA_LIST
|
||||||
+#include <osreldate.h>
|
+#include <osreldate.h>
|
||||||
+#if __FreeBSD_version >= 500039
|
+#if __FreeBSD_version >= 500039
|
||||||
|
+#include <sys/cdefs.h>
|
||||||
+#include <machine/_types.h>
|
+#include <machine/_types.h>
|
||||||
+#else
|
+#else
|
||||||
#include <machine/ansi.h>
|
#include <machine/ansi.h>
|
||||||
|
|
Loading…
Reference in a new issue