* include/sys/file.h: Add extern "C".

This commit is contained in:
Corinna Vinschen
2014-08-06 08:46:12 +00:00
parent a4a96eb436
commit 0b20d00bf3
2 changed files with 13 additions and 0 deletions

View File

@@ -39,8 +39,17 @@
#define LOCK_NB 0x04 /* don't block when locking */
#define LOCK_UN 0x08 /* unlock file */
#ifdef __cplusplus
extern "C"
{
#endif
extern int flock _PARAMS ((int, int));
#ifdef __cplusplus
}
#endif
#endif
#endif