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

Use HAVE_STRING_H, HAVE_STRINGS_H, HAVE_STRCHR and HAVE_STDLIB_H.

parent 0ac9ad5b
/*
* $Id: conf-file.c,v 1.4 1994/03/05 22:15:20 ceder Exp $
* $Id: conf-file.c,v 1.5 1994/03/06 19:56:37 ceder Exp $
* Copyright (C) 1994 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -26,7 +26,7 @@
* Read configuration files.
*/
static char *rcsid = "$Id: conf-file.c,v 1.4 1994/03/05 22:15:20 ceder Exp $";
static char *rcsid = "$Id: conf-file.c,v 1.5 1994/03/06 19:56:37 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -34,8 +34,19 @@ USE(rcsid);
#include <sys/types.h>
#include <time.h>
#include <assert.h>
#include <string.h>
#include <stdlib.h>
#ifdef HAVE_STRING_H
# include <string.h>
#else
# ifdef HAVE_STRINGS_H
# include <strings.h>
# endif
#endif
#ifndef HAVE_STRCHR
# define strchr index
#endif
#ifdef HAVE_STDLIB_H
# include <stdlib.h>
#endif
#include <stdarg.h>
#include "s-string.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