Browse Source

misc net fixes for building....

Randolph Chung 24 years ago
parent
commit
986ea00a8c
3 changed files with 6 additions and 7 deletions
  1. 4 1
      Makefile
  2. 0 5
      include/limits.h
  3. 2 1
      include/termios.h

+ 4 - 1
Makefile

@@ -1,4 +1,4 @@
-DIRS = headers error getent malloc-simple misc net regexp stdio2 \
+DIRS = headers error getent malloc-simple misc regexp stdio2 \
 	    string sysdeps termios time #rpc
 
 all: libc.a
@@ -50,6 +50,9 @@ termios: dummy
 time: dummy
 	make -C time
 
+tags:
+	ctags -R
+	
 dummy:
 
 clean:

+ 0 - 5
include/limits.h

@@ -45,10 +45,6 @@
 #define MB_LEN_MAX	6
 
 
-/* If we are not using GNU CC we have to define all the symbols ourself.
-   Otherwise use gcc's definitions (see below).  */
-#if !defined __GNUC__ || __GNUC__ < 2
-
 /* We only protect from multiple inclusion here, because all the other
    #include's protect themselves, and in GCC 2 we may #include_next through
    multiple copies of this file before we get to GCC's.  */
@@ -118,7 +114,6 @@
 #  endif
 
 # endif	/* limits.h  */
-#endif	/* GCC 2.  */
 
 #endif	/* !_LIBC_LIMITS_H_ */
 

+ 2 - 1
include/termios.h

@@ -3,7 +3,8 @@
 
 #include <features.h>
 #include <sys/types.h>
-#include <linux/termios.h>
+#include <sys/termios.h>
+#include <asm/termbits.h>
 
 extern speed_t cfgetispeed __P ((struct termios *__termios_p));
 extern speed_t cfgetospeed __P ((struct termios *__termios_p));