AP_HAL_Linux: SITL: add missing header for timeval struct on alpine linux

This commit is contained in:
Pierre Kancir 2024-08-13 00:26:10 +02:00 committed by Peter Barker
parent 3e4241ee7f
commit f1dd2bb2e8
2 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,7 @@
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <sys/time.h>
#include <net/if.h> #include <net/if.h>
#include <linux/can/raw.h> #include <linux/can/raw.h>
#include <cstring> #include <cstring>

View File

@ -15,6 +15,7 @@
#pragma once #pragma once
#include "AP_HAL_Linux.h" #include "AP_HAL_Linux.h"
#include <sys/time.h>
#include <linux/videodev2.h> #include <linux/videodev2.h>
#include <vector> #include <vector>