diff --git a/src/daemon/devnode.h b/src/daemon/devnode.h index a0b3a93..349e778 100644 --- a/src/daemon/devnode.h +++ b/src/daemon/devnode.h @@ -5,7 +5,7 @@ #include "usb.h" /// Device path base ("/dev/input/ckb" or "/var/run/ckb") -const char *const devpath; +extern const char *const devpath; /// Group ID for the control nodes. -1 to give read/write access to everybody extern long gid;