Fix the patch files (patch-ac).
Reminded by: asami
This commit is contained in:
parent
c891c51ef2
commit
8a04b57ec4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=12665
@ -1,10 +1,14 @@
|
||||
--- src/ORBitutil/machine_endian.h.orig Tue Aug 18 20:29:55 1998
|
||||
+++ src/ORBitutil/machine_endian.h Tue Aug 18 20:30:59 1998
|
||||
@@ -1,6 +1,7 @@
|
||||
#ifndef machine_endian_h_
|
||||
#define machine_endian_h_
|
||||
#include <machine/endian.h>
|
||||
+#include <sys/types.h>
|
||||
#include <machine/types.h>
|
||||
#if BYTE_ORDER == LITTLE_ENDIAN
|
||||
# define MACHINE_IS_LITTLE_ENDIAN
|
||||
--- src/ORBitutil/machine_endian.awk.orig Thu Aug 20 09:50:40 1998
|
||||
+++ src/ORBitutil/machine_endian.awk Thu Aug 20 09:51:22 1998
|
||||
@@ -10,8 +10,10 @@
|
||||
if (def["HAVE_MACHINE_ENDIAN_H"] || def["HAVE_ENDIAN_H"] || def["HAVE_SYS_MACHINE_H"] || def["HAVE_SYS_ENDIAN_H"]) {
|
||||
if (def["HAVE_MACHINE_ENDIAN_H"])
|
||||
print "#include <machine/endian.h>";
|
||||
- if (def["HAVE_MACHINE_TYPES_H"])
|
||||
+ if (def["HAVE_MACHINE_TYPES_H"]) {
|
||||
+ print "#include <sys/types.h>";
|
||||
print "#include <machine/types.h>";
|
||||
+ }
|
||||
if (def["HAVE_SYS_MACHINE_H"])
|
||||
print "#include <sys/machine.h>";
|
||||
if (def["HAVE_SYS_ENDIAN_H"])
|
||||
|
@ -1,10 +1,14 @@
|
||||
--- src/ORBitutil/machine_endian.h.orig Tue Aug 18 20:29:55 1998
|
||||
+++ src/ORBitutil/machine_endian.h Tue Aug 18 20:30:59 1998
|
||||
@@ -1,6 +1,7 @@
|
||||
#ifndef machine_endian_h_
|
||||
#define machine_endian_h_
|
||||
#include <machine/endian.h>
|
||||
+#include <sys/types.h>
|
||||
#include <machine/types.h>
|
||||
#if BYTE_ORDER == LITTLE_ENDIAN
|
||||
# define MACHINE_IS_LITTLE_ENDIAN
|
||||
--- src/ORBitutil/machine_endian.awk.orig Thu Aug 20 09:50:40 1998
|
||||
+++ src/ORBitutil/machine_endian.awk Thu Aug 20 09:51:22 1998
|
||||
@@ -10,8 +10,10 @@
|
||||
if (def["HAVE_MACHINE_ENDIAN_H"] || def["HAVE_ENDIAN_H"] || def["HAVE_SYS_MACHINE_H"] || def["HAVE_SYS_ENDIAN_H"]) {
|
||||
if (def["HAVE_MACHINE_ENDIAN_H"])
|
||||
print "#include <machine/endian.h>";
|
||||
- if (def["HAVE_MACHINE_TYPES_H"])
|
||||
+ if (def["HAVE_MACHINE_TYPES_H"]) {
|
||||
+ print "#include <sys/types.h>";
|
||||
print "#include <machine/types.h>";
|
||||
+ }
|
||||
if (def["HAVE_SYS_MACHINE_H"])
|
||||
print "#include <sys/machine.h>";
|
||||
if (def["HAVE_SYS_ENDIAN_H"])
|
||||
|
Loading…
Reference in New Issue
Block a user