1 /******************************************************************** 2 * $Author: jgoerzen $ 3 * $Revision: 1.4 $ 4 * $Date: 2002/01/10 18:43:18 $ 5 * $Source: /home/jgoerzen/tmp/gopher-umn/gopher/head/object/String.h,v $ 6 * $State: Exp $ 7 * 8 * Paul Lindner, University of Minnesota CIS. 9 * 10 * Copyright 1991, 1992 by the Regents of the University of Minnesota 11 * see the file "Copyright" in the distribution for conditions of use. 12 ********************************************************************* 13 * MODULE: String.h 14 * Header file that automagically includes string/strings.h 15 ********************************************************************* 16 * Revision History: 17 * $Log: String.h,v $ 18 * Revision 1.4 2002/01/10 18:43:18 jgoerzen 19 * * Changes to work with Solaris: 20 * * configure.in: Now looks for strings.h and string.h 21 * * object/Regex.h: Now include re_comp.h if available. 22 * Include regex.h only if re_comp.h is unavailable. 23 * Define the SYSVREGEX stuff only if HAVE_RE_COMP_H is not defined 24 * * object/String.h: Include string.h and strings.h based on configure 25 * test. 26 * 27 * Revision 1.3 2000/12/20 01:19:20 jgoerzen 28 * Added patches from David Allen <s2mdalle@titan.vcu.edu> 29 * 30 * Revision 1.2.1 2000/12/18 23:04:29 mdallen 31 * removed nested comments from unused include 32 * 33 * Revision 1.2 2000/08/19 01:36:18 jgoerzen 34 * include more relevant header files. 35 * 36 * Revision 1.1.1.1 2000/08/19 00:28:56 jgoerzen 37 * Import from UMN Gopher 2.3.1 after GPLization 38 * 39 * Revision 3.8 1996/01/04 18:23:43 lindner 40 * Updates for autoconf 41 * 42 * Revision 3.7 1994/07/21 22:08:24 lindner 43 * include both string and strings on suns 44 * 45 * Revision 3.6 1994/06/29 06:38:27 lindner 46 * Remove extra include of string.h 47 * 48 * Revision 3.5 1994/04/07 17:26:46 lindner 49 * Fix for pyramids 50 * 51 * Revision 3.4 1994/03/08 04:03:52 lindner 52 * Fix for missing strdup forward declaration 53 * 54 * Revision 3.3 1993/06/15 06:09:50 lindner 55 * Fixes for multiple includes and prettification 56 * 57 * Revision 3.2 1993/05/05 18:39:49 lindner 58 * Solaris and VMS mods 59 * 60 * Revision 3.1.1.1 1993/02/11 18:03:04 lindner 61 * Gopher+1.2beta release 62 * 63 * Revision 1.1 1992/12/10 23:27:52 lindner 64 * gopher 1.1 release 65 * 66 * 67 *********************************************************************/ 68 69 #ifndef GSTRINGS_H 70 #define GSTRINGS_H 71 72 /* string.h == Sys V & ANSI C 73 strings.h == BSD 74 75 Though your milage may vary... 76 77 */ 78 79 #if 0 80 #include "compatible.h" /* For strdup, etal */ 81 #endif /* 0 */ 82 83 #ifdef __convex__ 84 # include <stdarg.h> 85 #endif 86 87 #ifdef HAVE_STRING_H 88 #include <string.h> 89 #endif 90 91 #ifdef HAVE_STRINGS_H 92 #include <strings.h> 93 #endif 94 95 #include <stdio.h> 96 #include <errno.h> 97 98 #endif /* GSTRINGS_H */ 99