1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-25 21:42:33 +03:00

Hopefully fixed missing CHAR_BIT symbol

This commit is contained in:
Michael Meskes 2007-08-14 10:54:57 +00:00
parent aa130f5c42
commit cbe74fafe5
2 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/extern.h,v 1.25 2007/08/14 10:01:52 meskes Exp $ */
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/extern.h,v 1.26 2007/08/14 10:54:57 meskes Exp $ */
#ifndef _ECPG_LIB_EXTERN_H
#define _ECPG_LIB_EXTERN_H
@ -7,6 +7,9 @@
#include "libpq-fe.h"
#include "sqlca.h"
#include "ecpg_config.h"
#ifndef CHAR_BIT
#include <limits.h>
#endif
enum COMPAT_MODE
{

View File

@ -1,4 +1,4 @@
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/extern.h,v 1.67 2007/08/14 10:01:53 meskes Exp $ */
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/extern.h,v 1.68 2007/08/14 10:54:57 meskes Exp $ */
#ifndef _ECPG_PREPROC_EXTERN_H
#define _ECPG_PREPROC_EXTERN_H
@ -6,6 +6,9 @@
#include "type.h"
#include <errno.h>
#ifndef CHAR_BIT
#include <limits.h>
#endif
/* defines */