Allow inclusion from netinet.in.h.
authorUlrich Drepper <drepper@redhat.com>
Tue, 7 Apr 1998 09:12:51 +0000 (09:12 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 7 Apr 1998 09:12:51 +0000 (09:12 +0000)
sysdeps/unix/sysv/linux/mips/bits/socket.h

index f481a47..75ed54f 100644 (file)
@@ -17,7 +17,7 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
-#ifndef _SYS_STAT_H
+#if !defined _SYS_STAT_H && !defined _NETINET_IN_H
 # error "Never include <bits/socket.h> directly; use <sys/socket.h> instead."
 #endif