diff --git a/libs/stfu/stfu.h b/libs/stfu/stfu.h index e1a0d439a3..4bf4b5ed38 100644 --- a/libs/stfu/stfu.h +++ b/libs/stfu/stfu.h @@ -77,6 +77,7 @@ typedef unsigned long in_addr_t; #include #include typedef SOCKET stfu_socket_t; +#ifndef _STDINT typedef unsigned __int64 uint64_t; typedef unsigned __int32 uint32_t; typedef unsigned __int16 uint16_t; @@ -85,6 +86,7 @@ typedef __int64 int64_t; typedef __int32 int32_t; typedef __int16 int16_t; typedef __int8 int8_t; +#endif typedef intptr_t stfu_ssize_t; typedef int stfu_filehandle_t; #define STFU_SOCK_INVALID INVALID_SOCKET