all repos — slstatus @ 7a9a9b7d76808744796a5ce8f890836296f05763

my build of slstatus (tools.suckless.org/slstatus/)

ip: add OpenBSD support

ip.c already works on OpenBSD, it's just missing some headers:
Ali H. Fardan raiz@firemail.cc
Sun, 29 Apr 2018 10:55:38 +0300
commit

7a9a9b7d76808744796a5ce8f890836296f05763

parent

97ef7c2a1d67bb2c9c379e657fbc8e35acd6aafb

1 files changed, 5 insertions(+), 2 deletions(-)

jump to
M components/ip.ccomponents/ip.c

@@ -1,5 +1,9 @@

/* See LICENSE file for copyright and license details. */ -#if defined(__linux__) +#if defined(__OpenBSD__) +#include <sys/types.h> +#include <sys/socket.h> +#endif + #include <errno.h> #include <ifaddrs.h> #include <netdb.h>

@@ -69,4 +73,3 @@ freeifaddrs(ifaddr);

return NULL; } -#endif