[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-dev] [PATCH]: Guard includes of termios.h with #ifdef HAVE_TERMIOS
From: |
Matt |
Subject: |
[gpsd-dev] [PATCH]: Guard includes of termios.h with #ifdef HAVE_TERMIOS_H |
Date: |
Fri, 23 Jan 2015 19:28:36 +1100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0 |
Guard includes of termios.h with #ifdef HAVE_TERMIOS_H.
Test for termios.h in scons, and define/undefine HAVE_TERMIOS_H accordingly.
Fixes the below error seen on cygwin, which lacks termios.h:
In file included from gpsutils.c:22:0:
gpsd.h:349:21: fatal error: termios.h: No such file or directory
#include <termios.h>
^
guard-termios-h-include.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gpsd-dev] [PATCH]: Guard includes of termios.h with #ifdef HAVE_TERMIOS_H,
Matt <=