mirror of
https://github.com/linux-can/can-utils.git
synced 2026-09-22 08:06:34 +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
@@ -44,14 +44,15 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <syslog.h>
|
||||
#include <errno.h>
|
||||
#include <pwd.h>
|
||||
#include <signal.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <net/if.h>
|
||||
|
||||
/* default slcan line discipline since Kernel 2.6.25 */
|
||||
|
||||
Reference in New Issue
Block a user