Skip to content

Commit

Permalink
www/*chromium: sysctl(2) requires sys/types.h to be included
Browse files Browse the repository at this point in the history
PR:	274937
  • Loading branch information
Robert Nagy authored and Robert Nagy committed Nov 6, 2023
1 parent b7d69aa commit bade808
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions www/chromium/files/patch-base_posix_sysctl.cc
@@ -0,0 +1,10 @@
--- base/posix/sysctl.cc.orig 2023-11-06 14:11:03 UTC
+++ base/posix/sysctl.cc
@@ -4,6 +4,7 @@

#include "base/posix/sysctl.h"

+#include <sys/types.h>
#include <sys/sysctl.h>

#include <initializer_list>
10 changes: 10 additions & 0 deletions www/ungoogled-chromium/files/patch-base_posix_sysctl.cc
@@ -0,0 +1,10 @@
--- base/posix/sysctl.cc.orig 2023-11-06 14:15:25 UTC
+++ base/posix/sysctl.cc
@@ -4,6 +4,7 @@

#include "base/posix/sysctl.h"

+#include <sys/types.h>
#include <sys/sysctl.h>

#include <initializer_list>

0 comments on commit bade808

Please sign in to comment.