diff --git a/src/plugins/weatherdata/gfs/g2clib/grib2.h b/src/plugins/weatherdata/gfs/g2clib/grib2.h old mode 100755 new mode 100644 index 432a11f78..7d40f349c --- a/src/plugins/weatherdata/gfs/g2clib/grib2.h +++ b/src/plugins/weatherdata/gfs/g2clib/grib2.h @@ -1,5 +1,10 @@ #ifndef _grib2_H #define _grib2_H + +#ifdef __cplusplus +extern "C" { +#endif + #include #define G2_VERSION "g2clib-1.5.0" @@ -245,5 +250,9 @@ int pack_gp(g2int *, g2int *, g2int *, g2int *, g2int *, g2int *, g2int *, g2int *, g2int *, g2int *, g2int *); +#ifdef __cplusplus +} +#endif + #endif /* _grib2_H */