]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
TIOCNOTTY is not available on all platforms (OpenBSD 3.6 is one)
authorserassio <>
Fri, 31 Dec 2004 17:29:28 +0000 (17:29 +0000)
committerserassio <>
Fri, 31 Dec 2004 17:29:28 +0000 (17:29 +0000)
One more #ifdef is needed.

src/main.cc

index 59bb626f173c519806fa15bb6180b2d359e19259..acc2fbe5400d02753139233c34b70d0f305d59ad 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: main.cc,v 1.400 2004/12/28 12:52:05 hno Exp $
+ * $Id: main.cc,v 1.401 2004/12/31 10:29:28 serassio Exp $
  *
  * DEBUG: section 1     Startup and Main Loop
  * AUTHOR: Harvest Derived
@@ -1310,7 +1310,11 @@ watch_child(char *argv[])
 #endif
 
     pid_t pid;
+#ifdef TIOCNOTTY
+
     int i;
+#endif
+
     int nullfd;
 
     if (*(argv[0]) == '(')