0
0
mirror of https://github.com/openwrt/packages.git synced 2025-02-12 04:38:06 +00:00
packages/net/basicstation/patches/000-include_sys_time.patch
Marcus Schref b7d466040c basicstation: initial check-in
(LoRa) Basicstation is an implementation of a LoRa packet forwarder and is
intended to be run on the host of a LoRa-based gateway. Basicstation forwards
RF packets recieved by a concentrator to a LoRaWAN network server (LNS).
It also transmits RF packets received from the LNS to one or multiple LoRa
end devices. Further information: https://lora-developers.semtech.com/build/
software/lora-basics/lora-basics-for-gateways

Signed-off-by: Marcus Schref <mschref@web.de>
2022-09-07 13:17:00 +02:00

25 lines
580 B
Diff

From ca1eb77bf89697e1bacbb21ed7aae8b5134a7bf5 Mon Sep 17 00:00:00 2001
From: Marcus Schref <mschref@web.de>
Date: Mon, 22 Aug 2022 10:13:52 +0200
Subject: [PATCH] basicstation: include sys/time.h
Change time.h include directory to add compatibility with musl and fix
compilation error
Signed-off-by: Marcus Schref <mschref@web.de>
---
src/aio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/src/aio.c
+++ b/src/aio.c
@@ -27,7 +27,7 @@
*/
#include <unistd.h>
-#include <time.h>
+#include <sys/time.h>
#include <errno.h>
#include <fcntl.h>
#include "rt.h"