Page MenuHomeFreeBSD

D31827.diff
No OneTemporary

D31827.diff

diff --git a/sys/sys/sysctl.h b/sys/sys/sysctl.h
--- a/sys/sys/sysctl.h
+++ b/sys/sys/sysctl.h
@@ -1180,9 +1180,14 @@
struct sysctl_req *);
#else /* !_KERNEL */
#include <sys/cdefs.h>
+#include <sys/_types.h>
+#ifndef _SIZE_T_DECLARED
+typedef __size_t size_t;
+#define _SIZE_T_DECLARED
+#endif
__BEGIN_DECLS
-int sysctl(const int *, u_int, void *, size_t *, const void *, size_t);
+int sysctl(const int *, unsigned int, void *, size_t *, const void *, size_t);
int sysctlbyname(const char *, void *, size_t *, const void *, size_t);
int sysctlnametomib(const char *, int *, size_t *);
__END_DECLS

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 16, 12:43 PM (20 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14658891
Default Alt Text
D31827.diff (613 B)

Event Timeline