From edbfec79b4fb56dd39d727c3ce32c156deae1c72 Mon Sep 17 00:00:00 2001 From: Per Cederqvist Date: Wed, 8 Jul 1998 13:55:21 +0000 Subject: [PATCH] Use HAVE_VALUES_H instead of __svr4__ and __sparc__ to protect inclusion of . (rcsid): Added a missing const. --- src/libraries/libmisc/pom.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/libraries/libmisc/pom.c b/src/libraries/libmisc/pom.c index d8d97f6f..46b957bf 100644 --- a/src/libraries/libmisc/pom.c +++ b/src/libraries/libmisc/pom.c @@ -1,5 +1,5 @@ /* - * $Id: pom.c,v 1.9 1995/01/01 20:17:15 ceder Exp $ + * $Id: pom.c,v 1.10 1998/07/08 13:55:21 ceder Exp $ * Copyright (C) 1991, 1993, 1994, 1995 Lysator Academic Computer Association. * * This file is part of the LysKOM server. @@ -30,13 +30,14 @@ * Modified by Thomas Bellman 1991-01-29 */ -static char *rcsid = "$Id: pom.c,v 1.9 1995/01/01 20:17:15 ceder Exp $"; +static const char * +rcsid = "$Id: pom.c,v 1.10 1998/07/08 13:55:21 ceder Exp $"; #include #include #include -#if defined(__svr4__) && defined(__sparc__) -#include +#ifdef HAVE_VALUES_H +# include #endif #include -- GitLab