summaryrefslogtreecommitdiff
path: root/include/netinet
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-09-27 07:22:21 +0000
committerEric Andersen <andersen@codepoet.org>2001-09-27 07:22:21 +0000
commit5866ba50f1d8ba026f690c4906f2a6705b520fc9 (patch)
tree535a36913097bc735feab49a68d84a85810f9658 /include/netinet
parenta8f281fb479299c388a4c3c5c406ddb6f6c0e323 (diff)
Be more careful about not redefining stuf
Diffstat (limited to 'include/netinet')
-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