forked from Imagelibrary/rtems
Repairing damage and recovering changes including C++ wrappers..
This commit is contained in:
@@ -6,7 +6,11 @@
|
||||
#ifndef __POSIX_SEMAPHORE_h
|
||||
#define __POSIX_SEMAPHORE_h
|
||||
|
||||
#include <rtems/posix/features.h>
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <sys/features.h>
|
||||
|
||||
#if defined(_POSIX_SEMAPHORES)
|
||||
|
||||
@@ -104,5 +108,9 @@ int sem_getvalue(
|
||||
|
||||
#endif /* _POSIX_SEMAPHORES */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
/* end of include file */
|
||||
|
||||
Reference in New Issue
Block a user