5c61933
diff --git a/qucs/qucs/mouseactions.cpp b/qucs/qucs/mouseactions.cpp
5c61933
index 32a933528..504b2f9fc 100644
5c61933
--- a/qucs/qucs/mouseactions.cpp
5c61933
+++ b/qucs/qucs/mouseactions.cpp
5c61933
@@ -46,6 +46,7 @@
5c61933
 #include <QDebug>
5c61933
 
5c61933
 #include <limits.h>
5c61933
+#include <stdint.h>
5c61933
 #include <stdlib.h>
5c61933
 
5c61933
 
5c61933
diff --git a/qucs/qucs/schematic_element.cpp b/qucs/qucs/schematic_element.cpp
5c61933
index d30db3f58..763d052c4 100644
5c61933
--- a/qucs/qucs/schematic_element.cpp
5c61933
+++ b/qucs/qucs/schematic_element.cpp
5c61933
@@ -14,6 +14,7 @@
5c61933
  *   (at your option) any later version.                                   *
5c61933
  *                                                                         *
5c61933
  ***************************************************************************/
5c61933
+#include <stdint.h>
5c61933
 #include <stdlib.h>
5c61933
 #include <limits.h>
5c61933