Commit c34b4a60 authored by David Byers's avatar David Byers
Browse files

Guard inclusion of <unistd.h> and <crypt.h> with HAVE_UNISTD_H and

 HAVE_CRYPT_H.
parent 1ac21da5
/*
* $Id: person.c,v 0.31 1995/01/01 19:31:47 ceder Exp $
* $Id: person.c,v 0.32 1996/06/09 13:54:36 byers Exp $
* Copyright (C) 1991, 1992, 1993, 1994, 1995 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -28,7 +28,7 @@
* All atomic calls that deals with persons.
*/
static char *rcsid = "$Id: person.c,v 0.31 1995/01/01 19:31:47 ceder Exp $";
static char *rcsid = "$Id: person.c,v 0.32 1996/06/09 13:54:36 byers Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -41,11 +41,16 @@ USE(rcsid);
# include <string.h>
#endif
#include <time.h>
#include <unistd.h> /* for crypt() on Linux */
#ifdef HAVE_UNISTD_H
# include <unistd.h> /* for crypt() on Linux */
#endif
#include <setjmp.h>
#include <sys/types.h>
#ifdef HAVE_STDARG_H
# include <stdarg.h>
# include <stdarg.h>
#endif
#ifdef HAVE_CRYPT_H
# include <crypt.h>
#endif
#include "misc-types.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