2ac369ed8f
Fork from Alpine to apply Martijn's patch: https://github.com/alpinelinux/aports/pull/9894 "This makes wpa_supplicant run in dbus mode if no config file has been created for it, fixing the networkmanager integration. This config has been used for a long time in postmarketOS and works fine. It also removes the iwd dependency from networkmanager again so wpa_supplicant is used because iwd doesn't support as many chipsets as wpa_supplicant and it doesn't run on older kernels." [ci:skip-build]: already built successfully in CI for x86_64, I've tested that it builds for armhf and aarch64 too.
18 lines
609 B
Diff
18 lines
609 B
Diff
diff --git a/shared/systemd/src/basic/sort-util.h b/shared/systemd/src/basic/sort-util.h
|
|
index e029f86..935f136 100644
|
|
--- a/shared/systemd/src/basic/sort-util.h
|
|
+++ b/shared/systemd/src/basic/sort-util.h
|
|
@@ -5,6 +5,13 @@
|
|
|
|
#include "macro.h"
|
|
|
|
+#ifndef __COMPAR_FN_T
|
|
+# define __COMPAR_FN_T
|
|
+typedef int (*__compar_fn_t) (const void *, const void *);
|
|
+typedef __compar_fn_t comparison_fn_t;
|
|
+typedef int (*__compar_d_fn_t) (const void *, const void *, void *);
|
|
+#endif
|
|
+
|
|
void *xbsearch_r(const void *key, const void *base, size_t nmemb, size_t size,
|
|
__compar_d_fn_t compar, void *arg);
|
|
|