Ignore:
Timestamp:
Jun 17, 2005, 7:01:53 AM (20 years ago)
Author:
bird
Message:

Porting to FreeBSD 64-bit

Location:
trunk/src/libctests/glibc/inet
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libctests/glibc/inet/bug-if1.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2045 r2046  
    2222#include <stdio.h>
    2323#include <string.h>
     24#ifdef __BSD__
     25# include <sys/types.h>
     26# include <sys/socket.h>
     27#endif
    2428#include <net/if.h>
    2529
  • trunk/src/libctests/glibc/inet/htontest.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2045 r2046  
    1919   02111-1307 USA.  */
    2020
     21#ifndef __BSD__
    2122#include <endian.h>
     23#endif
    2224#include <stdio.h>
    2325#include <sys/types.h>
  • trunk/src/libctests/glibc/inet/test-ifaddrs.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2045 r2046  
    2222#include <stdlib.h>
    2323#include <string.h>
     24#ifdef __BSD__
     25# include <sys/types.h>
     26# include <sys/socket.h>
     27#endif
    2428#include <ifaddrs.h>
    2529#include <netinet/in.h>
  • trunk/src/libctests/glibc/inet/test_ifindex.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2045 r2046  
    2323#include <stdlib.h>
    2424#include <string.h>
     25#ifdef __BSD__
     26# include <sys/types.h>
     27# include <sys/socket.h>
     28#endif
    2529#include <net/if.h>
    2630
  • trunk/src/libctests/glibc/inet/tst-ntoa.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2045 r2046  
    11#include <stdio.h>
    22#include <string.h>
     3#ifdef __BSD__
     4# include <sys/types.h>
     5# include <sys/socket.h>
     6#endif
    37#include <arpa/inet.h>
    48#include <netinet/in.h>
Note: See TracChangeset for help on using the changeset viewer.