Browse Source

* Missing __linux__ defines

svn: 2053
Bryan Drewery 21 years ago
parent
commit
a8458c2bed
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/shell.c

+ 2 - 0
src/shell.c

@@ -340,12 +340,14 @@ void check_promisc()
 #endif /* SIOCGIFCONF */
 #endif /* SIOCGIFCONF */
 }
 }
 
 
+#ifdef __linux__
 bool traced = 0;
 bool traced = 0;
 
 
 static void got_sigtrap(int z)
 static void got_sigtrap(int z)
 {
 {
   traced = 0;
   traced = 0;
 }
 }
+#endif
 
 
 void check_trace(int start)
 void check_trace(int start)
 {
 {