diff options
author | unknown <tomas@mc05.(none)> | 2004-05-13 13:42:36 +0200 |
---|---|---|
committer | unknown <tomas@mc05.(none)> | 2004-05-13 13:42:36 +0200 |
commit | b58eb134bb89c2b4102e9d8d662e2af90e1ace73 (patch) | |
tree | 1d691bfc25dc47262382d9f6cb3b7b95364c8328 /ndb/include | |
parent | 79f269cb4d342305bc2e34939d881ba210692340 (diff) | |
download | mariadb-git-b58eb134bb89c2b4102e9d8d662e2af90e1ace73.tar.gz |
portability fixes
Diffstat (limited to 'ndb/include')
-rw-r--r-- | ndb/include/ndb_types.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/ndb/include/ndb_types.h b/ndb/include/ndb_types.h index 166368b99c5..5e7b952cfc5 100644 --- a/ndb/include/ndb_types.h +++ b/ndb/include/ndb_types.h @@ -18,8 +18,8 @@ * @file ndb_types.h */ -#ifndef SYS_TYPES_H -#define SYS_TYPES_H +#ifndef NDB_TYPES_H +#define NDB_TYPES_H typedef char Int8; typedef unsigned char Uint8; @@ -33,7 +33,13 @@ typedef unsigned int UintR; #ifdef __SIZE_TYPE__ typedef __SIZE_TYPE__ UintPtr; #else +#include <my_config.h> +#ifdef HAVE_STDINT_H #include <stdint.h> +#endif +#ifdef HAVE_INTTYPES_H +#include <inttypes.h> +#endif typedef uintptr_t UintPtr; #endif |