slcand: include <sys/socket.h>

Linux build compiles without errors, but Android build
complains about undefined routines and macros.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
pull/1/head
Yegor Yefremov 2014-01-31 11:54:09 +01:00 committed by Marc Kleine-Budde
parent 02d32df1dc
commit e4aac687eb
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@
#include <unistd.h> #include <unistd.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/socket.h>
#include <fcntl.h> #include <fcntl.h>
#include <syslog.h> #include <syslog.h>
#include <errno.h> #include <errno.h>