1
0
mirror of https://github.com/UzixLS/picocom.git synced 2025-07-19 07:21:18 +03:00

Define a standard CMSPAR, if undefined, only on Linux.

This commit is contained in:
Nick Patavalis
2015-10-08 12:10:26 +03:00
parent 26ec40be0e
commit 44fe603663

2
term.c
View File

@ -38,9 +38,11 @@
/* glibc for MIPS has its own bits/termios.h which does not define
* CMSPAR, so we use the value from the generic bits/termios.h
*/
#ifdef __linux__
#ifndef CMSPAR
#define CMSPAR 010000000000
#endif
#endif
#ifdef __linux__
#include <sys/ioctl.h>