0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-27 04:01:53 +00:00
bird/sysdep/unix/endian.h

21 lines
351 B
C
Raw Normal View History

/*
* BIRD -- Endianity Conversion
*
* (c) 1999 Martin Mares <mj@ucw.cz>
*
* Can be freely distributed and used under the terms of the GNU GPL.
*/
#ifndef _BIRD_ENDIAN_H_
#define _BIRD_ENDIAN_H_
/* hton[sl] and ntoh[sl] are defined here */
#include <sys/types.h>
#include <netinet/in.h>
2009-05-10 23:32:49 +00:00
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#endif