diff options
author | David Schleef <ds@hutch.local> | 2008-06-27 13:11:20 -0700 |
---|---|---|
committer | David Schleef <ds@hutch.local> | 2008-06-27 13:11:20 -0700 |
commit | 995e3d8db82044cfed4ca1bce37fdb0ff29f6753 (patch) | |
tree | cf76b4a6d3a6566217c96373bec7aba79310a29c | |
parent | c389ab30282f868dd41ed88092d3779c023ac740 (diff) |
Compile fixes on Darwin
-rw-r--r-- | liboil/liboilcpu-powerpc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/liboil/liboilcpu-powerpc.c b/liboil/liboilcpu-powerpc.c index d29d0e1..300ab1d 100644 --- a/liboil/liboilcpu-powerpc.c +++ b/liboil/liboilcpu-powerpc.c @@ -49,6 +49,11 @@ #endif +#if defined(__APPLE__) +#include <sys/types.h> +#include <sys/sysctl.h> +#endif + #if defined(__FreeBSD__) #include <sys/types.h> #include <sys/sysctl.h> |