Compare commits

..

5 Commits

Author SHA1 Message Date
Marc Kleine-Budde 579f72b2b4
Merge 27b5bef817 into 2b8c7c5f4b 2025-02-20 23:11:59 +08:00
Khem Raj 2b8c7c5f4b 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>
2025-02-14 12:41:31 +01:00
Jan Engelhardt 4577316bd6 Update .gitignore 2025-02-14 12:40:42 +01:00
Marc Kleine-Budde 4364d655b8
Merge pull request #576 from jengelh/master
build: give libisobusfs a version
2025-02-12 16:55:15 +01:00
Jan Engelhardt 2e71e396c5 build: give libisobusfs a version 2025-02-10 15:32:27 +01:00
3 changed files with 9 additions and 0 deletions

7
.gitignore vendored
View File

@ -1,6 +1,13 @@
*~ *~
*.a
*.so
*.so.*
*.o *.o
.ccls-cache .ccls-cache
CMakeCache.txt
CMakeFiles/
Makefile
cmake_install.cmake
compile_commands.json compile_commands.json
tags tags
/build /build

View File

@ -127,6 +127,7 @@ if(NOT ANDROID)
set_target_properties(isobusfs PROPERTIES set_target_properties(isobusfs PROPERTIES
PUBLIC_HEADER "${PUBLIC_HEADER_ISOBUSFS}" PUBLIC_HEADER "${PUBLIC_HEADER_ISOBUSFS}"
SOVERSION 0
) )
install(TARGETS isobusfs install(TARGETS isobusfs

View File

@ -17,6 +17,7 @@
#include <linux/can/j1939.h> #include <linux/can/j1939.h>
#include <stdbool.h> #include <stdbool.h>
#include <stdint.h> #include <stdint.h>
#include <time.h>
#include <sys/socket.h> #include <sys/socket.h>
#ifndef J1939_LIB_H #ifndef J1939_LIB_H