Changeset 45717e8 in rtems


Ignore:
Timestamp:
May 8, 2005, 7:30:21 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
5f7464bb
Parents:
5fce938
Message:

Partial update from FreeBSD.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/sys/socket.h

    r5fce938 r45717e8  
    4040#include <sys/cdefs.h>
    4141
    42 #if defined(__rtems__)
    43 /* RTEMS doesn't have FreeBSD's sys/_types.h machinery. */
    44 typedef int socklen_t;
    45 typedef unsigned char   sa_family_t;
     42#ifndef _IN_PORT_T_DECLARED
     43typedef unsigned short          in_port_t;
     44#define _IN_PORT_T_DECLARED
     45#endif
     46
     47#ifndef _SA_FAMILY_T_DECLARED
     48typedef unsigned char           sa_family_t;
     49#define _SA_FAMILY_T_DECLARED
     50#endif
     51
     52#ifndef _SOCKLEN_T_DECLARED
     53typedef int     socklen_t;
     54#define _SOCKLEN_T_DECLARED
    4655#endif
    4756
Note: See TracChangeset for help on using the changeset viewer.