File: 02-stropts.diff

package info (click to toggle)
nn 6.7.3-16.1
  • links: PTS
  • area: main
  • in suites: sid
  • size: 3,688 kB
  • sloc: ansic: 32,039; sh: 1,491; awk: 138; makefile: 80
file content (23 lines) | stat: -rw-r--r-- 603 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: remove stropts.h to fix FTBFS
Author: Cord Beermann <cord@debian.org>
Bug: 954552
Index: nn-6.7.3/term.c
===================================================================
--- nn-6.7.3.orig/term.c
+++ nn-6.7.3/term.c
@@ -25,11 +25,11 @@
 #include "regexp.h"
 #include "nn_term.h"
 
-#if !defined(__FreeBSD__) && !(__NetBSD__) && !defined(NeXT)
-#include <stropts.h>
-#else
+/* #if !defined(__FreeBSD__) && !(__NetBSD__) && !defined(NeXT)
+* #include <sys/stropts.h>
+* #else */
 #include <sys/ioctl.h>
-#endif
+/* #endif */
 
 #ifdef RESIZING
 #include <sys/ioctl.h>		/* for TIOCGWINSZ */