diff --git a/pd/src/g_all_guis.h b/pd/src/g_all_guis.h
index cb2b91f7d8e556feea57ef729333d2f487b69c47..f8cb173209708720bfda6f8d3f095a2928fdf8db 100644
--- a/pd/src/g_all_guis.h
+++ b/pd/src/g_all_guis.h
@@ -179,6 +179,8 @@ typedef struct _scalehandle
     int        h_dragy;
 } t_scalehandle;
 
+static t_class *scalehandle_class;
+
 typedef struct _iemgui
 {
     t_object           x_obj;