Return to endian.h CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / bird / sysdep / unix |
1.1 ! misho 1: /* ! 2: * BIRD -- Endianity Conversion ! 3: * ! 4: * (c) 1999 Martin Mares <mj@ucw.cz> ! 5: * ! 6: * Can be freely distributed and used under the terms of the GNU GPL. ! 7: */ ! 8: ! 9: #ifndef _BIRD_ENDIAN_H_ ! 10: #define _BIRD_ENDIAN_H_ ! 11: ! 12: /* hton[sl] and ntoh[sl] are defined here */ ! 13: ! 14: #include <sys/types.h> ! 15: #include <netinet/in.h> ! 16: #ifdef HAVE_STDINT_H ! 17: #include <stdint.h> ! 18: #endif ! 19: ! 20: #endif