0be729d743
The function reads TimeBase frequency, not the CPU frequency.
12 lines
298 B
C++
12 lines
298 B
C++
--- highwayhash/arch_specific.cc.orig 2020-09-22 06:18:43 UTC
|
|
+++ highwayhash/arch_specific.cc
|
|
@@ -24,8 +24,8 @@
|
|
#if __GLIBC__
|
|
#include <sys/platform/ppc.h> // __ppc_get_timebase_freq
|
|
#elif __FreeBSD__
|
|
-#include <sys/sysctl.h>
|
|
#include <sys/types.h>
|
|
+#include <sys/sysctl.h>
|
|
#endif
|
|
#endif
|
|
|