X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=src%2Fsystemd%2Fsd-login.h;h=7746c742ffd9123de089ba21807b70e37497c0bf;hb=f9873976499de5c90c703e04a3bee96848fc90c8;hp=7d76f9a44ed3553b635da72960e9bd13a3a7074c;hpb=eff406331adb23e27e4bd29a3b69322fc359ca3d;p=elogind.git diff --git a/src/systemd/sd-login.h b/src/systemd/sd-login.h index 7d76f9a44..7746c742f 100644 --- a/src/systemd/sd-login.h +++ b/src/systemd/sd-login.h @@ -24,6 +24,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + /* * A few points: * @@ -125,4 +129,8 @@ int sd_login_monitor_flush(sd_login_monitor *m); /* Get FD from monitor */ int sd_login_monitor_get_fd(sd_login_monitor *m); +#ifdef __cplusplus +} +#endif + #endif