summaryrefslogtreecommitdiff
path: root/geography/gpsd/patches/patch-gpsd.h-tail
blob: d31bb66d53010d24fa875e3e3121e575889cbf15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-gpsd.h-tail,v 1.1 2013/12/10 12:22:52 jperkin Exp $

Need cfmakeraw on SunOS.

--- gpsd.h-tail.orig	2011-03-21 22:03:35.000000000 +0000
+++ gpsd.h-tail
@@ -758,7 +758,7 @@ extern struct tm *localtime_r(const time
 #define NITEMS(x) (int)(sizeof(x)/sizeof(x[0]))
 
 /* Cygwin, in addition to NAN, doesn't have cfmakeraw */
-#if defined(__CYGWIN__)
+#if defined(__CYGWIN__) || defined(__sun)
 void cfmakeraw(struct termios *);
 #endif /* defined(__CYGWIN__) */