aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-drm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gamma-drm.h')
-rw-r--r--src/gamma-drm.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gamma-drm.h b/src/gamma-drm.h
index f4c0df5..ae97d00 100644
--- a/src/gamma-drm.h
+++ b/src/gamma-drm.h
@@ -25,6 +25,8 @@
#include <xf86drm.h>
#include <xf86drmMode.h>
+#include "redshift.h"
+
typedef struct {
int crtc_num;
@@ -52,7 +54,8 @@ void drm_print_help(FILE *f);
int drm_set_option(drm_state_t *state, const char *key, const char *value);
void drm_restore(drm_state_t *state);
-int drm_set_temperature(drm_state_t *state, int temp, float brightness, const float gamma[3]);
+int drm_set_temperature(drm_state_t *state,
+ const color_setting_t *setting);
#endif /* ! REDSHIFT_GAMMA_DRM_H */