Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
/* /*
* $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. * Copyright (C) 1994 Lysator Academic Computer Association.
* *
* This file is part of the LysKOM server. * This file is part of the LysKOM server.
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
* Read configuration files. * 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" #include "rcs.h"
USE(rcsid); USE(rcsid);
...@@ -34,8 +34,19 @@ USE(rcsid); ...@@ -34,8 +34,19 @@ USE(rcsid);
#include <sys/types.h> #include <sys/types.h>
#include <time.h> #include <time.h>
#include <assert.h> #include <assert.h>
#ifdef HAVE_STRING_H
# include <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> # include <stdlib.h>
#endif
#include <stdarg.h> #include <stdarg.h>
#include "s-string.h" #include "s-string.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment