--- a/pwsafe/pwsafe/corelib/sha1.h
+++ b/pwsafe/pwsafe/corelib/sha1.h
@@ -7,6 +7,8 @@
  */
 #ifndef _SHA1_H_
 #define _SHA1_H_
+
+#include "PwsPlatform.h"
 
 class SHA1
 {