summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libc/include/pathconf.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/include/pathconf.h b/libc/include/pathconf.h
index 4677f7b..94f9787 100644
--- a/libc/include/pathconf.h
+++ b/libc/include/pathconf.h
@@ -28,6 +28,10 @@
#ifndef _PATHCONF_H_
#define _PATHCONF_H_
+#include <sys/cdefs.h>
+
+__BEGIN_DECLS
+
/* constants to be used for the 'name' paremeter of pathconf/fpathconf */
#define _PC_FILESIZEBITS 0x0000
@@ -54,5 +58,7 @@
extern long fpathconf(int fildes, int name);
extern long pathconf(const char *path, int name);
+__END_DECLS
+
#endif /* _PATHCONF_H_ */