summaryrefslogtreecommitdiffstats
path: root/sysdep/unix/endian.h
blob: bc4863138c14b5a57b688541c5b475a13f65e921 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 *	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>
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif

#endif