includes.h to pull in all of the compatibility stuff.
- (dtucker) [openbsd-compat/bcrypt_pbkdf.c] Wrap stdlib.h include inside
#ifdef HAVE_STDINT_H.
+ - (dtucker) [defines.h] Add typedefs for uintXX_t types for platforms that
+ don't have them.
20140118
- (djm) OpenBSD CVS Sync
#ifndef _DEFINES_H
#define _DEFINES_H
-/* $Id: defines.h,v 1.174 2013/11/07 02:28:16 djm Exp $ */
+/* $Id: defines.h,v 1.175 2014/01/17 03:20:05 dtucker Exp $ */
/* Constants */
#define __BIT_TYPES_DEFINED__
#endif
+#ifndef HAVE_UINTXX_T
+typedef u_int8_t uint8_t;
+typedef u_int16_t uint16_t;
+typedef u_int32_t uint32_t;
+typedef u_int64_t uint64_t;
+#endif
+
/* 64-bit types */
#ifndef HAVE_INT64_T
# if (SIZEOF_LONG_INT == 8)