added C++ header guards
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1680 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -7,6 +7,10 @@
|
||||
#ifndef __POLL_H
|
||||
#define __POLL_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define POLLIN 0x0001
|
||||
#define POLLPRI 0x0002 /* not used */
|
||||
#define POLLOUT 0x0004
|
||||
@@ -20,5 +24,9 @@ struct pollfd {
|
||||
|
||||
extern int poll(struct pollfd * p, int nb, int timeout);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __POLL_H */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user