Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
95e64b4b
Commit
95e64b4b
authored
Oct 12, 1993
by
Per Cederqvist
Browse files
Check HAVE_STDLIB_H, HAVE_STRING_H and HAVE_LOCALE_H.
parent
952204f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/ramkomd.c
View file @
95e64b4b
/*
* $Id: ramkomd.c,v 0.3
6
1993/10/1
0
2
2:30
:4
7
ceder Exp $
* $Id: ramkomd.c,v 0.3
7
1993/10/1
2
2
1:05
:4
6
ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -31,16 +31,22 @@
* It has grown! /ceder
*/
static
char
*
rcsid
=
"$Id: ramkomd.c,v 0.3
6
1993/10/1
0
2
2:30
:4
7
ceder Exp $"
;
static
char
*
rcsid
=
"$Id: ramkomd.c,v 0.3
7
1993/10/1
2
2
1:05
:4
6
ceder Exp $"
;
#include "rcs.h"
USE
(
rcsid
);
#include <locale.h>
#ifdef HAVE_LOCALE_H
# include <locale.h>
#endif
#include <stdio.h>
#include <signal.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_STDLIB_H
# include <stdlib.h>
#endif
#ifdef HAVE_STRING_H
# include <string.h>
#endif
#include <sys/wait.h>
#include <time.h>
#include <unistd.h>
...
...
@@ -280,7 +286,7 @@ main (int argc,
#include "version.incl"
,
getpid
());
#ifdef HAVE_LOCALE
#ifdef HAVE_LOCALE
_H
if
(
setlocale
(
LC_CTYPE
,
"iso_8859_1"
)
==
NULL
)
{
perror
(
"setlocale"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment