diff --git a/src/smblib/smbdefs.h b/src/smblib/smbdefs.h
index 409b532060ba8a2794e51623fae7c489065b9086..0027a22d308a7d7c84f77890a12933ee346ab759 100644
--- a/src/smblib/smbdefs.h
+++ b/src/smblib/smbdefs.h
@@ -65,6 +65,14 @@
 	#endif
 #endif
 
+#ifndef BOOL
+	#define BOOL	int
+#endif
+#ifndef TRUE
+	#define TRUE	1
+	#define FALSE	0
+#endif
+
 /****************************************************************************/
 /* Memory allocation macros for various compilers and environments			*/
 /* MALLOC is used for allocations of 64k or less							*/