Changeset 5f7464bb in rtems


Ignore:
Timestamp:
May 8, 2005, 9:17:37 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
4f792aec
Parents:
45717e8
Message:

Add in_addr_t, in_port_t.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/arpa/inet.h

    r45717e8 r5f7464bb  
    6666#include <sys/cdefs.h>
    6767
    68 struct in_addr;
     68#ifndef _IN_ADDR_T_DECLARED
     69typedef uint32_t        in_addr_t;
     70#define _IN_ADDR_T_DECLARED
     71#endif
     72
     73#ifndef _IN_PORT_T_DECLARED
     74typedef uint16_t        in_port_t;
     75#define _IN_PORT_T_DECLARED
     76#endif
    6977
    7078#if 0   /* RTEMS -- Why rename these? */
     
    105113__END_DECLS
    106114
    107 #endif /* !_INET_H_ */
     115#endif /* !_ARPA_INET_H_ */
Note: See TracChangeset for help on using the changeset viewer.