🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.elm
Article #3721

<string.h> at BSD sites

#3721
From: Dave Taylor
Date: Tue, 05 May 1987 02:47
38 lines
1379 bytes
From: ries@trwrb.UUCP (Marc Ries)
Subject: patches add string to defs.h
Date: 4 May 87 17:38:14 GMT
Organization: TRW Operations and Support Group

The patch for defs.h in elm/hdrs/defs.h adds the following line
to defs.h.

**************
* defs.h:256:#include <string.h>
*****
      thing vital is predefined... (Thanks go to Detlev Droege for this one)
  **/
  
* #include <string.h>
  
  char *argv_zero();
  char *bounce_off_remote();
**************

However, BSD does not have an include file <string.h>.  Anybody for
<strings.h>?

How about?:

   #ifdef BSD
   #include <strings.h>
   #else
   #include <string.h>
   #endif

ries@trwrb
-- 
		Marc A. Ries

		sdcrdcf!---\ 
                ihnp4!------\----- trwrb! --- ries
Technical Details
Message-ID: <1727@hplabsc.HP.COM>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-lcc!styx!ames!ucbcad!ucbvax!hplabs!hplabsc!daemon

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-lcc!styx!ames!ucbcad!ucbvax!hplabs!hplabsc!daemon
From: taylor@hpldat.UUCP (Dave Taylor)
Newsgroups: comp.mail.elm
Subject: <string.h> at BSD sites
Message-ID: <1727@hplabsc.HP.COM>
Date: Mon, 4-May-87 22:47:55 EDT
Article-I.D.: hplabsc.1727
Posted: Mon May  4 22:47:55 1987
Date-Received: Wed, 6-May-87 00:44:25 EDT
Sender: daemon@hplabsc.HP.COM
Reply-To: taylor@hpldat (Dave Taylor)
Organization: Hewlett-Packard Laboratories, Interface Technologies Group
Lines: 38
Approved: taylor@hplabs (with 'postmail')