aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/include/ecpglib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/ecpg/include/ecpglib.h')
-rw-r--r--src/interfaces/ecpg/include/ecpglib.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/interfaces/ecpg/include/ecpglib.h b/src/interfaces/ecpg/include/ecpglib.h
index 72869395ad1..d06f22d6336 100644
--- a/src/interfaces/ecpg/include/ecpglib.h
+++ b/src/interfaces/ecpg/include/ecpglib.h
@@ -3,19 +3,21 @@
* definitions into ecpg programs
*/
+#include <stdio.h>
+
#ifndef __BEOS__
#ifndef __cplusplus
#ifndef bool
#define bool char
#endif /* ndef bool */
-#endif /* not C++ */
#ifndef true
#define true ((bool) 1)
-#endif
+#endif /* ndef true */
#ifndef false
-#define bool char
-#endif /* ndef bool */
+#define false ((bool) 0)
+#endif /* ndef false */
+#endif /* not C++ */
#else /* __BEOS__ */
#include <SupportDefs.h>
#endif /* __BEOS__ */