diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-07-11 15:07:59 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-07-11 15:07:59 +0000 |
| commit | e997758cb67526549b56a89658f7a42104716cf0 (patch) | |
| tree | 25704e6e929bc209281b1859917be9935e4007b0 /contrib/pgcrypto/pgp-compress.c | |
| parent | 3c52d17fa66ab1ac447fcc052df9dde470d5b195 (diff) | |
| download | postgresql-e997758cb67526549b56a89658f7a42104716cf0.tar.gz | |
More pgcrypto fixes: avoid bogus alignment assumptions in sha2,
be more wary about having a value for BYTE_ORDER, clean up randomly-
chosen ways of including Postgres core headers.
Marko Kreen and Tom Lane
Diffstat (limited to 'contrib/pgcrypto/pgp-compress.c')
| -rw-r--r-- | contrib/pgcrypto/pgp-compress.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/pgcrypto/pgp-compress.c b/contrib/pgcrypto/pgp-compress.c index 4faf0e4e1a..c90887e386 100644 --- a/contrib/pgcrypto/pgp-compress.c +++ b/contrib/pgcrypto/pgp-compress.c @@ -26,10 +26,10 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $PostgreSQL: pgsql/contrib/pgcrypto/pgp-compress.c,v 1.1 2005/07/10 13:46:28 momjian Exp $ + * $PostgreSQL: pgsql/contrib/pgcrypto/pgp-compress.c,v 1.2 2005/07/11 15:07:59 tgl Exp $ */ -#include <postgres.h> +#include "postgres.h" #include "mbuf.h" #include "px.h" @@ -43,6 +43,7 @@ #ifndef DISABLE_ZLIB #include <zlib.h> + #define ZIP_OUT_BUF 8192 #define ZIP_IN_BLOCK 8192 |
