diff --git a/plot.h b/plot.h
--- a/plot.h
+++ b/plot.h
@@ -17,6 +17,9 @@
   along with serialplot.  If not, see .
 */
 
+#ifndef PLOT_H
+#define PLOT_H
+
 #include 
 #include 
 #include "zoomer.h"
@@ -46,3 +49,5 @@ public slots:
 private slots:
     void unzoomed();
 };
+
+#endif // PLOT_H