Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 30203af8 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

There's only one <sys/system_properties.h> now.

Change-Id: I4d535484b9e25fda304fb748b7796e513c832265
parent fe4f5a1e
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <sys/socket.h>
#include <sys/system_properties.h>
#include <sys/types.h>
#include <unistd.h>

@@ -35,9 +36,6 @@
#include <snapuserd/snapuserd_client.h>
#include "snapuserd_server.h"

#define _REALLY_INCLUDE_SYS__SYSTEM_PROPERTIES_H_
#include <sys/_system_properties.h>

namespace android {
namespace snapshot {

+1 −3
Original line number Diff line number Diff line
@@ -26,13 +26,11 @@
#include <sys/eventfd.h>
#include <sys/mount.h>
#include <sys/signalfd.h>
#include <sys/system_properties.h>
#include <sys/types.h>
#include <sys/utsname.h>
#include <unistd.h>

#define _REALLY_INCLUDE_SYS__SYSTEM_PROPERTIES_H_
#include <sys/_system_properties.h>

#include <filesystem>
#include <fstream>
#include <functional>
+1 −3
Original line number Diff line number Diff line
@@ -31,14 +31,12 @@
#include <sys/mman.h>
#include <sys/poll.h>
#include <sys/select.h>
#include <sys/system_properties.h>
#include <sys/types.h>
#include <sys/un.h>
#include <unistd.h>
#include <wchar.h>

#define _REALLY_INCLUDE_SYS__SYSTEM_PROPERTIES_H_
#include <sys/_system_properties.h>

#include <map>
#include <memory>
#include <mutex>
+1 −3
Original line number Diff line number Diff line
@@ -16,11 +16,9 @@

#include <errno.h>
#include <sys/socket.h>
#include <sys/system_properties.h>
#include <sys/un.h>

#define _REALLY_INCLUDE_SYS__SYSTEM_PROPERTIES_H_
#include <sys/_system_properties.h>

#include <android-base/properties.h>
#include <android-base/scopeguard.h>
#include <android-base/strings.h>
+1 −2
Original line number Diff line number Diff line
@@ -93,8 +93,7 @@ int property_get(const char* key, char* value, const char* default_value) {

#if __has_include(<sys/system_properties.h>)

#define _REALLY_INCLUDE_SYS__SYSTEM_PROPERTIES_H_
#include <sys/_system_properties.h>
#include <sys/system_properties.h>

struct callback_data {
    void (*callback)(const char* name, const char* value, void* cookie);
Loading