]> gitweb.michael.orlitzky.com - xfce4-hdaps.git/blobdiff - panel-plugin/hdaps.h
Fixed build with --enable-debug=full thanks to Evgeni Golov.
[xfce4-hdaps.git] / panel-plugin / hdaps.h
index 2c900b2a93c3159a4a9417670e2d6d797129f5d1..70965befd30510d29c0029f431fee926797a22fc 100644 (file)
 #ifndef __HDAPS_H__
 #define __HDAPS_H__
 
-#define HDAPS_ERROR      -1
+#include <stdio.h>
+
+#define HDAPS_ERROR     -1
 #define HDAPS_OFF        0
+#define HDAPS_ON         1
 #define UNLOAD_HEADS_FMT "/sys/block/%s/device/unload_heads"
 
 /* The most devices we'll consider. Gotta stop somewhere. */