Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109039360
D46896.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
642 B
Referenced Files
None
Subscribers
None
D46896.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D46896: MAC: mac.h: Fix missing includes/typedefs
Attached
Detach File
Event Timeline
Log In to Comment