aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/include/decimal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/ecpg/include/decimal.h')
-rw-r--r--src/interfaces/ecpg/include/decimal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/interfaces/ecpg/include/decimal.h b/src/interfaces/ecpg/include/decimal.h
index c1f724fbd29..eff42c22ca3 100644
--- a/src/interfaces/ecpg/include/decimal.h
+++ b/src/interfaces/ecpg/include/decimal.h
@@ -1,3 +1,6 @@
+#ifndef _ECPG_DECIMAL_H
+#define _ECPG_DECIMAL_H
+
#include <pgtypes_numeric.h>
typedef decimal dec_t;
@@ -16,3 +19,5 @@ int dectoasc(dec_t *, char *, int, int);
int dectodbl(dec_t *, double *);
int dectoint(dec_t *, int *);
int dectolong(dec_t *, long *);
+
+#endif /* ndef _ECPG_DECIMAL_H */