Imported Upstream version 1.27.0
[platform/upstream/grpc.git] / src / core / lib / iomgr / fork_posix.cc
index e678b4f..82654b5 100644 (file)
 
 #ifdef GRPC_POSIX_FORK
 
+#ifdef GRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK
+#include <pthread.h>
+#endif
+
 #include <string.h>
 
 #include <grpc/fork.h>