🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1213

wdiff 0.04 & signal.h

#1213
From: Karl Berry
Date: Thu, 31 Dec 1992 15:03
19 lines
961 bytes
wdiff 0.04 doesn't compile on a 486 running ISC 2.2.1 with gcc 2.3.2,
because <signal.h> requires <sys/types.h>.  Here is the (trivial) fix.

Tue Dec 29 07:17:59 1992  Karl Berry  (karl@cs.umb.edu)

	* wdiff.c: Include <sys/types.h> before <signal.h>.

*** ./ORIG/wdiff.c	Wed Dec 23 21:10:28 1992
--- ./wdiff.c	Tue Dec 29 07:18:19 1992
***************
*** 65,70 ****
--- 65,71 ----
  #endif /* HAVE_TPUTS */
  
  #include <setjmp.h>
+ #include <sys/types.h>
  #include <signal.h>
  #ifndef RETSIGTYPE
  #define RETSIGTYPE void
Technical Details
Message-ID: <199301010103.AA07900@claude.cs.umb.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!claude.cs.umb.edu!karl

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!claude.cs.umb.edu!karl
From: karl@claude.cs.umb.edu (Karl Berry)
Subject: wdiff 0.04 & signal.h
Message-ID: <199301010103.AA07900@claude.cs.umb.edu>
Sender: gnulists@ai.mit.edu
Reply-To: karl@cs.umb.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Thu, 31 Dec 1992 15:03:17 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 20