mirror of
https://github.com/linux-can/can-utils.git
synced 2026-09-22 16:09:52 +02:00
can-utils: cleanup headers
- add missing sys/socket.h: on some systems (like Android) have SOCK_RAW definition directly in sys/socket.h - use sys/wait.h instead if wait.h - include termios.h explicitly (Android) Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
committed by
Marc Kleine-Budde
parent
5077515927
commit
4d3a002ec1
+1
-1
@@ -55,6 +55,7 @@
|
||||
#include <time.h>
|
||||
|
||||
#include <sys/time.h>
|
||||
#include <sys/wait.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/ioctl.h>
|
||||
@@ -65,7 +66,6 @@
|
||||
#include <linux/can.h>
|
||||
#include <linux/can/raw.h>
|
||||
#include <signal.h>
|
||||
#include <wait.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "lib.h"
|
||||
|
||||
Reference in New Issue
Block a user