summaryrefslogtreecommitdiff
path: root/include/netinet/in.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/netinet/in.h')
-rw-r--r--include/netinet/in.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/netinet/in.h b/include/netinet/in.h
index 377089464..85f780c47 100644
--- a/include/netinet/in.h
+++ b/include/netinet/in.h
@@ -269,7 +269,9 @@ extern uint16_t htons (uint16_t __hostshort)
/* Get machine dependent optimized versions of byte swapping functions. */
#include <bits/byteswap.h>
+#ifndef __OPTIMIZE__
#define __OPTIMIZE__
+#endif
#ifdef __OPTIMIZE__
/* We can optimize calls to the conversion functions. Either nothing has
to be done or we are using directly the byte-swapping functions which