Page MenuHomeFreeBSD

D46896.diff
No OneTemporary

D46896.diff

diff --git a/sys/sys/mac.h b/sys/sys/mac.h
--- a/sys/sys/mac.h
+++ b/sys/sys/mac.h
@@ -47,6 +47,13 @@
#ifndef _SYS_MAC_H_
#define _SYS_MAC_H_
+#include <sys/_types.h>
+
+#ifndef _SIZE_T_DECLARED
+typedef __size_t size_t;
+#define _SIZE_T_DECLARED
+#endif
+
#ifndef _POSIX_MAC
#define _POSIX_MAC
#endif
@@ -72,6 +79,13 @@
#ifndef _KERNEL
+#include <sys/cdefs.h> /* For __BEGIN_DECLS and __END_DECLS. */
+
+#ifndef _PID_T_DECLARED
+typedef __pid_t pid_t; /* process id */
+#define _PID_T_DECLARED
+#endif
+
/*
* Location of the userland MAC framework configuration file. mac.conf
* set defaults for MAC-aware applications.

File Metadata

Mime Type
text/plain
Expires
Sat, Feb 1, 12:07 AM (20 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
13625051
Default Alt Text
D46896.diff (642 B)

Event Timeline