Fix missing extern C statement
This commit is contained in:
parent
d9dc88048a
commit
01f6251c09
|
@ -1,6 +1,10 @@
|
|||
#ifndef _SYS_RESOURCE_H_
|
||||
#define _SYS_RESOURCE_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <sys/time.h>
|
||||
|
||||
#define RUSAGE_SELF 0 /* calling process */
|
||||
|
@ -13,5 +17,8 @@ struct rusage {
|
|||
|
||||
int getrusage (int, struct rusage*);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* !_SYS_RESOURCE_H_ */
|
||||
|
||||
|
|
Loading…
Reference in New Issue