mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-04 22:09:57 +02:00
Include time.h for timespec struct definition
Fixes
git/isobusfs/../libj1939.h:33:18: error: field has incomplete type 'struct timespec'
33 | struct timespec next_send_time;
| ^
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
committed by
Oliver Hartkopp
parent
4577316bd6
commit
2b8c7c5f4b
@@ -17,6 +17,7 @@
|
||||
#include <linux/can/j1939.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <time.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
#ifndef J1939_LIB_H
|
||||
|
||||
Reference in New Issue
Block a user