can-utils: AOSP build improvements
[profile/ivi/can-utils.git] / slcan_attach.c
index b939a10..2c95d22 100644 (file)
@@ -1,8 +1,4 @@
 /*
- *  $Id$
- */
-
-/*
  * slcan_attach.c - userspace tool for serial line CAN interface driver SLCAN
  *
  * Copyright (c) 2002-2007 Volkswagen Group Electronic Research
 #include <fcntl.h>
 #include <unistd.h>
 #include <getopt.h>
+#include <sys/socket.h>
 #include <sys/ioctl.h>
 #include <net/if.h>
+#include <termios.h>
 
 #define LDISC_N_SLCAN 17 /* default slcan line discipline since Kernel 2.6.25 */