From ebeaf9ad35543cf0c343a77970bfb38e740ddf52 Mon Sep 17 00:00:00 2001 From: Romain Tartiere Date: Sat, 26 Jun 2010 11:56:57 +0000 Subject: [PATCH] Fix endian.h inclusion. --- libfreefare/tlv.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/libfreefare/tlv.c b/libfreefare/tlv.c index 49c7182..80884a2 100644 --- a/libfreefare/tlv.c +++ b/libfreefare/tlv.c @@ -27,10 +27,18 @@ */ #include "config.h" + +#if defined(HAVE_SYS_ENDIAN_H) +# include +#endif + +#if defined(HAVE_ENDIAN_H) +# include +#endif + #include #include #include -#include #include