]> Git Repo - J-u-boot.git/blobdiff - tools/termios_linux.h
binman: Convert FIT entry type to a subclass of Section entry type
[J-u-boot.git] / tools / termios_linux.h
index d73989b625a28ae3ac75520e3d739145967c6f3a..e100c8e4eb5f4729a15fca95f6942cfbd66631c4 100644 (file)
@@ -90,7 +90,11 @@ static inline int tcflush(int fd, int q)
 
 static inline int tcsendbreak(int fd, int d)
 {
-       return ioctl(fd, TCSBRK, d);
+#ifdef TCSBRKP
+       return ioctl(fd, TCSBRKP, d);
+#else
+       return ioctl(fd, TCSBRK, 0);
+#endif
 }
 
 static inline int tcflow(int fd, int a)
This page took 0.025717 seconds and 4 git commands to generate.