]> rtime.felk.cvut.cz Git - sojka/can-utils.git/blobdiff - slcan_attach.c
cangen: Enable sending of RTR CAN frames
[sojka/can-utils.git] / slcan_attach.c
index 89366be014ee38a397d171a1fc84f6d89ad40a02..3d6846ac40b2768dd38be981d69b25584b7230e9 100644 (file)
@@ -41,7 +41,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
  * DAMAGE.
  *
- * Send feedback to <socketcan-users@lists.berlios.de>
+ * Send feedback to <linux-can@vger.kernel.org>
  *
  */
 
 #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 */