Commit 62f3fda2 by kgotlinux Committed by GitHub

Added neccessary headers for FreeBSD

1. Changed order of sys/sysctl.h, because sysctl.h needs types.h
2.  Threads.h is neccessary for once_flag
3.  absl/base/call_once.h is neccessary for LowLevelCallOnce
parent ccdbb594
...@@ -24,8 +24,10 @@ ...@@ -24,8 +24,10 @@
#ifdef __GLIBC__ #ifdef __GLIBC__
#include <sys/platform/ppc.h> #include <sys/platform/ppc.h>
#elif defined(__FreeBSD__) #elif defined(__FreeBSD__)
#include <sys/sysctl.h> #include "absl/base/call_once.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/sysctl.h>
#include <threads.h>
#endif #endif
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment