Ver Fonte

parser-inc: Add stub header for sys/sysctl.h for BSD (incl. macOS)

rdb há 2 anos atrás
pai
commit
0a7be36be1
1 ficheiros alterados com 15 adições e 0 exclusões
  1. 15 0
      dtool/src/parser-inc/sys/sysctl.h

+ 15 - 0
dtool/src/parser-inc/sys/sysctl.h

@@ -0,0 +1,15 @@
+/**
+ * Stub header for sys/sysctl.h in macOS and FreeBSD.
+ */
+
+#pragma once
+
+struct ctlname {
+  char *ctl_name;
+  int ctl_type;
+};
+
+struct sysctl_req;
+struct sysctl_oid;
+struct sysctl_ctx_entry;
+struct sysctl_ctx_list;