diff options
Diffstat (limited to 'lux.h')
-rw-r--r-- | lux.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -22,6 +22,10 @@ #define BACKLIGHT_DIR "/sys/class/backlight" +#ifdef __cplusplus +extern "C" { +#endif + struct luxdisp { int __dirfd, __max; FILE *__bstream; @@ -40,4 +44,8 @@ double luxsetp(struct luxdisp *, double); double luxincp(struct luxdisp *, double); double luxdecp(struct luxdisp *, double); +#ifdef __cplusplus +} +#endif + #endif /* !LUX_H */ |