summaryrefslogtreecommitdiffstats
path: root/lwip/src/include/lwip/netdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'lwip/src/include/lwip/netdb.h')
-rw-r--r--lwip/src/include/lwip/netdb.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lwip/src/include/lwip/netdb.h b/lwip/src/include/lwip/netdb.h
index eaae285..03186fe 100644
--- a/lwip/src/include/lwip/netdb.h
+++ b/lwip/src/include/lwip/netdb.h
@@ -46,14 +46,14 @@
extern "C" {
#endif
-#ifdef __rtems__
-#include <netdb.h>
-#else
/* some rarely used options */
#ifndef LWIP_DNS_API_DECLARE_H_ERRNO
#define LWIP_DNS_API_DECLARE_H_ERRNO 1
#endif
+#ifdef __rtems__
+#include <netdb.h>
+#else
#ifndef LWIP_DNS_API_DEFINE_ERRORS
#define LWIP_DNS_API_DEFINE_ERRORS 1
#endif