X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=panel-plugin%2Fhdaps.h;h=70965befd30510d29c0029f431fee926797a22fc;hb=f96fd73099713a39795b0b32c418f2af8818a96a;hp=2c900b2a93c3159a4a9417670e2d6d797129f5d1;hpb=5f69fb70c315fbbf79e435c88fabfb1b86be4b2a;p=xfce4-hdaps.git diff --git a/panel-plugin/hdaps.h b/panel-plugin/hdaps.h index 2c900b2..70965be 100644 --- a/panel-plugin/hdaps.h +++ b/panel-plugin/hdaps.h @@ -21,8 +21,11 @@ #ifndef __HDAPS_H__ #define __HDAPS_H__ -#define HDAPS_ERROR -1 +#include + +#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. */