From f54801ffedf3d6342b37c1560502bfc24e7fe64a Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 29 Mar 1999 19:14:43 +0000 Subject: Moved all system-dependent #include's containing endianity conversion functions to sysdep header endian.h. --- sysdep/unix/endian.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 sysdep/unix/endian.h (limited to 'sysdep/unix/endian.h') diff --git a/sysdep/unix/endian.h b/sysdep/unix/endian.h new file mode 100644 index 00000000..58c746f0 --- /dev/null +++ b/sysdep/unix/endian.h @@ -0,0 +1,17 @@ +/* + * BIRD -- Endianity Conversion + * + * (c) 1999 Martin Mares + * + * 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 +#include + +#endif -- cgit v1.2.3