]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - utils/dtrrts.c
Fix compiler warnings
[can-benchmark.git] / 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 */
 }
-