]> rtime.felk.cvut.cz Git - can-benchmark.git/commitdiff
Fix compiler warnings
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 5 Nov 2013 09:38:20 +0000 (10:38 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 5 Nov 2013 09:38:20 +0000 (10:38 +0100)
utils/dtrrts.c

index ca229291862430d92f9a88300ad5c6b60899d864..7b33341a49e3dae08d7f746b3ce254d692d031c8 100644 (file)
@@ -41,6 +41,8 @@ gcc -o setSerialSignal setSerialSignal.c
 #include <sys/ioctl.h>
 #include <fcntl.h>
 #include <termios.h>
+#include <stdio.h>
+#include <stdlib.h>
 
 /* we need a termios structure to clear the HUPCL bit */
 struct termios tio;
@@ -82,4 +84,3 @@ int main(int argc, char *argv[])
 
   close(fd);                    /* close the device file */
 }
-