commit | c44662e7e927ba044ab76d6e3ba3eda50d8e84b8 | [log] [tgz] |
---|---|---|
author | Dominic Hamon <dominic+github@google.com> | Wed Jan 15 16:09:18 2014 -0800 |
committer | Dominic Hamon <dominic+github@google.com> | Wed Jan 15 16:09:18 2014 -0800 |
tree | 5f8afa104c3fbb4a179c4b9fec959aa71434ba01 | |
parent | 6df14aeed0ea0b9aee675ad522aaa990b43239df [diff] |
Missing headers for sysctl stuff on OSX
diff --git a/src/sysinfo.cc b/src/sysinfo.cc index 5a4777a..fac2653 100644 --- a/src/sysinfo.cc +++ b/src/sysinfo.cc
@@ -21,7 +21,9 @@ #include <stdlib.h> #include <string.h> #include <sys/resource.h> +#include <sys/sysctl.h> #include <sys/time.h> +#include <sys/types.h> #include <unistd.h> #include <iostream>