diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2014-10-26 15:56:33 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2014-10-26 16:17:24 +0400 |
commit | 360bc5bfd8c4b67487bef77fa9343779bd2ca6e6 (patch) | |
tree | 7057f0b72d31b32ae1fb0638c03aa1eb30992e08 /src/pmdas/roomtemp/mlan | |
parent | 0e04bca260780b2ce04e123d09302ce98d9b597a (diff) | |
download | pcp-360bc5bfd8c4b67487bef77fa9343779bd2ca6e6.tar.gz |
Check for cfmakeraw
Diffstat (limited to 'src/pmdas/roomtemp/mlan')
-rw-r--r-- | src/pmdas/roomtemp/mlan/linuxlnk.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pmdas/roomtemp/mlan/linuxlnk.c b/src/pmdas/roomtemp/mlan/linuxlnk.c index aa20695..4c90796 100644 --- a/src/pmdas/roomtemp/mlan/linuxlnk.c +++ b/src/pmdas/roomtemp/mlan/linuxlnk.c @@ -96,6 +96,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include "config.h" #include <stdio.h> #include <unistd.h> @@ -126,7 +127,7 @@ void CloseCOM(void); // LinuxLNK global int fd; -#ifdef IS_SOLARIS +#ifndef HAVE_CFMAKERAW int cfmakeraw(struct termios *termios_p) { termios_p->c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP |