Commit 467765d4 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Include <string.h> if it exists.

parent 469f91d4
/*
* $Id: dbck.c,v 0.36 1996/08/03 01:30:54 ceder Exp $
* $Id: dbck.c,v 0.37 1996/08/04 01:28:35 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -28,7 +28,7 @@
* Author: Per Cederqvist.
*/
static char *rcsid = "$Id: dbck.c,v 0.36 1996/08/03 01:30:54 ceder Exp $";
static char *rcsid = "$Id: dbck.c,v 0.37 1996/08/04 01:28:35 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -47,6 +47,10 @@ USE(rcsid);
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifdef HAVE_STRING_H
# include <string.h>
#endif
#include "getopt.h"
#include "misc-types.h"
#include "s-string.h"
......
......@@ -53,6 +53,10 @@ char *alloca ();
#include <stdio.h>
#ifdef HAVE_STRING_H
# include <string.h>
#endif
/* Comment out all this code if we are using the GNU C Library, and are not
actually compiling the library itself. This code is part of the GNU C
Library, but also included in many other GNU distributions. Compiling
......
/*
* $Id: server-config.c,v 0.41 1996/08/03 01:32:10 ceder Exp $
* $Id: server-config.c,v 0.42 1996/08/04 01:30:17 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -31,13 +31,16 @@
* Compile with -DDEFAULT_PREFIX='"/usr/lyskom"' or something similar.
*/
static char *rcsid = "$Id: server-config.c,v 0.41 1996/08/03 01:32:10 ceder Exp $";
static char *rcsid = "$Id: server-config.c,v 0.42 1996/08/04 01:30:17 ceder Exp $";
#include "rcs.h"
USE(rcsid);
#include <limits.h>
#include <stdio.h>
#include <sys/types.h>
#ifdef HAVE_STRING_H
# include <string.h>
#endif
#include <time.h>
#include <stdarg.h>
#include <assert.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment