X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fsystemd%2Fsd-id128.h;h=af2841eb776675d8472eb12ca3a34c32825c9a9a;hb=a26c9cc60477acacf3a147009894bd837353ed6c;hp=22fcb932719fe508a8792785905b027150a7f214;hpb=e4bac488f9eee315c86ff2f6d15341be58a87a8a;p=elogind.git diff --git a/src/systemd/sd-id128.h b/src/systemd/sd-id128.h index 22fcb9327..af2841eb7 100644 --- a/src/systemd/sd-id128.h +++ b/src/systemd/sd-id128.h @@ -26,6 +26,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + typedef union sd_id128 sd_id128_t; union sd_id128 { @@ -58,4 +62,8 @@ static inline bool sd_id128_equal(sd_id128_t a, sd_id128_t b) { return memcmp(&a, &b, 16) == 0; } +#ifdef __cplusplus +} +#endif + #endif