Alpine/musl fix (#34)

* Add alpine dependencies to README

* Fix type error on non-glibc targets
This commit is contained in:
thinkingsand 2024-06-19 20:22:39 +01:00 committed by GitHub
parent 7b6a6b7513
commit 627d958def
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View file

@ -32,6 +32,10 @@ Vanilla currently requires the following dependencies:
```
# pacman -S qt6 ffmpeg libnl sdl2 dhclient
```
- Alpine/postmarketOS
```
# apk add qt6-qtbase-dev qt6-qtmultimedia-dev ffmpeg-dev libnl3-dev sdl2-dev dhclient
```
The build process is otherwise normal for a CMake program:

View file

@ -2,6 +2,7 @@
#define VANILLA_WPA_H
#include <stdlib.h>
#include <sys/types.h>
struct wpa_ctrl;
extern const char *wpa_ctrl_interface;
@ -19,4 +20,4 @@ int is_networkmanager_managing_device(const char *wireless_interface, int *is_ma
int disable_networkmanager_on_device(const char *wireless_interface);
int enable_networkmanager_on_device(const char *wireless_interface);
#endif // VANILLA_WPA_H
#endif // VANILLA_WPA_H