diff options
Diffstat (limited to 'rtkit.h')
-rw-r--r-- | rtkit.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -30,6 +30,10 @@ #include <sys/types.h> #include <dbus/dbus.h> +#ifdef __cplusplus +extern "C" { +#endif + /* This is the reference implementation for a client for * RealtimeKit. You don't have to use this, but if do, just copy these * sources into your repository */ @@ -51,4 +55,8 @@ int rtkit_make_realtime(DBusConnection *system_bus, pid_t thread, int priority); * on success.*/ int rtkit_make_high_priority(DBusConnection *system_bus, pid_t thread, int nice_level); +#ifdef __cplusplus +} +#endif + #endif |