#include "wtf/Assertions.h"
#include "wtf/WTF.h"
-#if OS(ANDROID)
-// PTHREAD_KEYS_MAX is not defined in bionic, so explicitly define it here.
+#include <limits.h>
+
+// PTHREAD_KEYS_MAX might be not defined (e.g. in certain bionic versions), so explicitly define it here.
#ifndef PTHREAD_KEYS_MAX
#define PTHREAD_KEYS_MAX 1024
#endif // PTHREAD_KEYS_MAX
-#else
-#include <limits.h>
-#endif
namespace WTF {