Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3880)

Unified Diff: base/sys_info_posix.cc

Issue 495002: Changes to base/ from a combination of FreeBSD and OpenBSD patches. (Closed)
Patch Set: minor tweaks Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/sys_info_posix.cc
diff --git a/base/sys_info_posix.cc b/base/sys_info_posix.cc
index af333310748f853b28020459b57d9e7046bfced1..b2526ba691b6887d2225dfc0d2669f15bc9e45e5 100644
--- a/base/sys_info_posix.cc
+++ b/base/sys_info_posix.cc
@@ -6,7 +6,9 @@
#include <errno.h>
#include <string.h>
+#include <sys/param.h>
#include <sys/statvfs.h>
+#include <sys/sysctl.h>
#include <sys/utsname.h>
#include <unistd.h>
@@ -14,11 +16,6 @@
#include <gdk/gdk.h>
#endif
-#if defined(OS_OPENBSD)
-#include <sys/param.h>
-#include <sys/sysctl.h>
-#endif
-
#include "base/basictypes.h"
#include "base/file_util.h"
#include "base/logging.h"

Powered by Google App Engine
This is Rietveld 408576698