summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/arpa/nameser.h6
-rw-r--r--include/rpc/rpc.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/include/arpa/nameser.h b/include/arpa/nameser.h
index ba6014216..e88ad8226 100644
--- a/include/arpa/nameser.h
+++ b/include/arpa/nameser.h
@@ -77,7 +77,7 @@
/*
* @(#)nameser.h 8.1 (Berkeley) 6/2/93
- * $Id: nameser.h,v 1.1 2000/05/14 04:16:36 erik Exp $
+ * $Id: nameser.h,v 1.2 2000/05/14 06:07:30 erik Exp $
*/
#ifndef _NAMESER_H_
@@ -258,7 +258,7 @@
#if (BSD >= 199103)
# include <machine/endian.h>
#else
-#ifdef linux
+#ifdef __linux__
# include <endian.h>
#else
#define LITTLE_ENDIAN 1234 /* least-significant byte first (vax, pc) */
@@ -280,7 +280,7 @@
defined (BIT_ZERO_ON_LEFT) || defined(m68k)
#define BYTE_ORDER BIG_ENDIAN
#endif
-#endif /* linux */
+#endif /* __linux__ */
#endif /* BSD */
#endif /* BYTE_ORDER */
diff --git a/include/rpc/rpc.h b/include/rpc/rpc.h
index b7d50d2dc..1edf4a334 100644
--- a/include/rpc/rpc.h
+++ b/include/rpc/rpc.h
@@ -37,7 +37,7 @@
#ifndef __RPC_HEADER__
#define __RPC_HEADER__
-#ifdef linux
+#ifdef __linux__
#include <sys/time.h>
#endif