diff --git a/include/mcom_db.h b/include/mcom_db.h index 7bcb4c3974d7..346cdd14c29f 100644 --- a/include/mcom_db.h +++ b/include/mcom_db.h @@ -289,6 +289,11 @@ typedef enum { LockOutDatabase, UnlockDatabase } DBLockFlagEnum; #define DB_TXN 0x8000 /* Do transactions. */ #endif +/* if we're using gcc's -pedantic-errors, uint isn't defined */ +#ifdef __STRICT_ANSI__ +typedef unsigned int uint; +#endif + /* Access method description structure. */ typedef struct __db { DBTYPE type; /* Underlying db type. */