Projects
Eulaceura:Mainline:GA
qt6-qtserialbus
_service:obs_scm:qtserialbus-everywhere-src-5.1...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:qtserialbus-everywhere-src-5.12.3-SIOCGSTAMP.patch of Package qt6-qtserialbus
diff --git a/src/plugins/canbus/socketcan/socketcanbackend.cpp b/src/plugins/canbus/socketcan/socketcanbackend.cpp index 572fef8..68e8b3f 100644 --- a/src/plugins/canbus/socketcan/socketcanbackend.cpp +++ b/src/plugins/canbus/socketcan/socketcanbackend.cpp @@ -56,6 +56,11 @@ #include <sys/ioctl.h> #include <sys/time.h> +// Seems that kernel 5.2.0 renames this define to SIOCGSTAMP_OLD +#ifndef SIOCGSTAMP +#define SIOCGSTAMP 0x8906 /* Get stamp (timeval) */ +#endif + #ifndef CANFD_BRS # define CANFD_BRS 0x01 /* bit rate switch (second bitrate for payload data) */ #endif
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2