aboutsummaryrefslogtreecommitdiff
path: root/contrib/intarray/_int.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-07-10 22:06:11 +0000
committerBruce Momjian <bruce@momjian.us>2006-07-10 22:06:11 +0000
commitc5133e5920a802201824effd13f16f606b8d6971 (patch)
tree29ddcb573460f83cd2705bdfdf7023cbdc4c631d /contrib/intarray/_int.h
parentf0cd7647234b028d25cfd53c9376320e0ef9799b (diff)
downloadpostgresql-c5133e5920a802201824effd13f16f606b8d6971.tar.gz
postgresql-c5133e5920a802201824effd13f16f606b8d6971.zip
Allow /contrib include files to compile on their own.
Diffstat (limited to 'contrib/intarray/_int.h')
-rw-r--r--contrib/intarray/_int.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/intarray/_int.h b/contrib/intarray/_int.h
index 6218cbcd20d..f40dc06a92c 100644
--- a/contrib/intarray/_int.h
+++ b/contrib/intarray/_int.h
@@ -1,3 +1,6 @@
+#ifndef ___INT_H__
+#define ___INT_H__
+
#include "postgres.h"
#include <float.h>
@@ -171,3 +174,5 @@ int compDESC(const void *a, const void *b);
if (ARRNELEMS(a) > 1) \
qsort((void*)ARRPTR(a), ARRNELEMS(a),sizeof(int4), \
(direction) ? compASC : compDESC )
+
+#endif