*BSD News Article 12449


Return to BSD News archive

Path: sserve!manuel.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!moe.ksu.ksu.edu!zaphod.mps.ohio-state.edu!wupost!uunet!not-for-mail
From: sef@Kithrup.COM (Sean Eric Fagan)
Newsgroups: comp.os.386bsd.development
Subject: patch for <arpa/nameser.h>
Date: 7 Mar 1993 15:58:36 -0800
Organization: Kithrup Enterprises, Ltd.
Lines: 24
Sender: sef@ftp.UU.NET
Message-ID: <1ne27cINN60m@ftp.UU.NET>
NNTP-Posting-Host: ftp.uu.net

I  ran into this problem while compiling something (probably MMDF, but
I forget exactly what).  This patch should be applied to
/usr/include/arpa/nameser.h, as well as /usr/src/include/arpa/nameser.h.


*** nameser.h.orig	Sun Mar  7 15:53:58 1993
--- nameser.h	Sun Mar  7 10:51:46 1993
***************
*** 137,143 ****
  #define	PDP_ENDIAN	3412	/* LSB first in word, MSW first in long (pdp) */
  
  #if defined(vax) || defined(ns32000) || defined(sun386) || defined(MIPSEL) || \
!     defined(BIT_ZERO_ON_RIGHT)
  #define BYTE_ORDER	LITTLE_ENDIAN
  
  #endif
--- 137,143 ----
  #define	PDP_ENDIAN	3412	/* LSB first in word, MSW first in long (pdp) */
  
  #if defined(vax) || defined(ns32000) || defined(sun386) || defined(MIPSEL) || \
!     defined(BIT_ZERO_ON_RIGHT) || defined(__i386__) || defined(i386)
  #define BYTE_ORDER	LITTLE_ENDIAN
  
  #endif