--- CTPP2SysTypes.h	2017-09-30 19:03:34.762026248 +0200
+++ include/CTPP2SysTypes.h	2017-09-30 19:08:28.973037461 +0200
@@ -41,7 +41,7 @@
 #include <sys/types.h>
 #include <stdint.h>
 
-#if defined(__linux__) || defined(linux) || defined(CYGWIN) || defined(__CYGWIN__)
+#if defined(__linux__) && defined (__GLIBC__) || defined(linux) && defined (__GLIBC__) || defined(CYGWIN) || defined(__CYGWIN__)
 
 /**
   @var typedef __int16_t    INT_16
@@ -134,7 +134,7 @@
 typedef UCCHAR_8                  * UCCHAR_P;
 
 
-#elif defined(__FreeBSD__) || defined(__APPLE__) /* Linux End, start of FreeBSD / Mac OS declarations */
+#elif defined(__FreeBSD__) || defined(__APPLE__) || defined(linux) && !defined (__GLIBC__) || defined(__linux__) && !defined (__GLIBC__) /* Linux End, start of FreeBSD / Mac OS declarations */
 
 /**
   @var typedef int16_t    INT_16
