mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 07:10:32 -04:00
PR: 221509 Submitted by: myself Approved by: adamw (mentor) Differential Revision: https://reviews.freebsd.org/D12890
11 lines
296 B
C++
11 lines
296 B
C++
--- compiler/generator/tools.cpp.orig 2017-06-07 15:07:18 UTC
|
|
+++ compiler/generator/tools.cpp
|
|
@@ -23,6 +23,8 @@
|
|
// Date: October 29, 2010
|
|
// Returns the cache line size (in bytes) of the processor, or 0 on failure
|
|
|
|
+#include <sys/types.h>
|
|
+
|
|
#if defined(__APPLE__)
|
|
|
|
#include <sys/sysctl.h>
|