Seems BSDish __P() and __CONCAT() macros was expected here but without any
explicit include of sys/cdefs.h. Now (re?)defined there, to keep non-POSIX public headers requirement level low. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7582 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
faff14df52
commit
f81d740a6e
@ -55,6 +55,15 @@
|
||||
|
||||
#include "keywords.h"
|
||||
|
||||
#ifndef __P
|
||||
#define __P(s) s
|
||||
#endif
|
||||
|
||||
#ifndef __CONCAT
|
||||
#define __CONCAT(x,y) x ## y
|
||||
#endif
|
||||
|
||||
|
||||
// phoudoin, 20031026: FIXME: sysctl.h is a kernel private header!
|
||||
extern int sysctl(int *, uint, void *, size_t *, void *, size_t);
|
||||
|
||||
|
@ -52,6 +52,10 @@
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#ifndef __P
|
||||
#define __P(s) s
|
||||
#endif
|
||||
|
||||
// phoudoin, 20031026: FIXME: sysctl.h is a kernel private header!
|
||||
extern int sysctl(int *, uint, void *, size_t *, void *, size_t);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user