summaryrefslogtreecommitdiff
path: root/src/pmdas/roomtemp/mlan
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2014-10-26 15:56:33 +0400
committerIgor Pashev <pashev.igor@gmail.com>2014-10-26 16:17:24 +0400
commit360bc5bfd8c4b67487bef77fa9343779bd2ca6e6 (patch)
tree7057f0b72d31b32ae1fb0638c03aa1eb30992e08 /src/pmdas/roomtemp/mlan
parent0e04bca260780b2ce04e123d09302ce98d9b597a (diff)
downloadpcp-360bc5bfd8c4b67487bef77fa9343779bd2ca6e6.tar.gz
Check for cfmakeraw
Diffstat (limited to 'src/pmdas/roomtemp/mlan')
-rw-r--r--src/pmdas/roomtemp/mlan/linuxlnk.c3
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