# HG changeset patch # User Matti Hamalainen # Date 1578780101 -7200 # Node ID 8c516309037e078278b819a202ebfb90f21b634f # Parent 935ee9a9f63119085fe9620108bb04b74b3cce38 Check for !defined(HAVE_STDINT_H) && !defined(HAVE_SYS_TYPES_H) before attempting to define int*_t types. diff -r 935ee9a9f631 -r 8c516309037e th_types.h --- a/th_types.h Sat Jan 11 20:35:40 2020 +0200 +++ b/th_types.h Sun Jan 12 00:01:41 2020 +0200 @@ -130,7 +130,7 @@ /* Default assumptions for these types should be ok for most 32/64bit platforms... */ -#ifndef HAVE_STDINT_H +#if !defined(HAVE_STDINT_H) && !defined(HAVE_SYS_TYPES_H) typedef unsigned char uint8_t; typedef signed char int8_t; typedef unsigned short int uint16_t;