X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fsys%2Fsysinfo.h;h=3bf6cb0f7398a1b90158014385d498049486f81a;hb=419ae6d5c95629d3ebaff6f1880d52cb027ba924;hp=ca52088aef477bbc237e581aed74ca2e78defaed;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl diff --git a/include/sys/sysinfo.h b/include/sys/sysinfo.h index ca52088a..3bf6cb0f 100644 --- a/include/sys/sysinfo.h +++ b/include/sys/sysinfo.h @@ -1,6 +1,10 @@ #ifndef _SYS_SYSINFO_H #define _SYS_SYSINFO_H +#ifdef __cplusplus +extern "C" { +#endif + /* ?? */ #define SI_LOAD_SHIFT 16 @@ -26,4 +30,8 @@ int get_nprocs (void); long long get_phys_pages (void); long long get_avphys_pages (void); +#ifdef __cplusplus +} +#endif + #endif