Skip to content
Snippets Groups Projects
Commit 520a53bb authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Always include <locale.h>, even if HAVE_LOCALE is not defined.

parent 8e6eefd9
No related branches found
No related tags found
No related merge requests found
Sat Aug 31 22:14:30 1991 Per Cederqvist (ceder at lysator)
* ramkomd.c: Inkludera alltid <locale.h> - gcc -M f|rs|ker
inkludera den {ven om HAVE_LOCALE inte {r satt. Skicka med en
tom locale.h i include/ansi f|r de som inte har locale.
Fri Aug 30 05:32:13 1991 Per Cederqvist (ceder at lysator) Fri Aug 30 05:32:13 1991 Per Cederqvist (ceder at lysator)
* config.c ramkomd.c (MAX_NO_OF_CONNECTIONS): S{tt fr}n * config.c ramkomd.c (MAX_NO_OF_CONNECTIONS): S{tt fr}n
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* It has grown! /ceder * It has grown! /ceder
*/ */
static char *rcsid = "$Id: ramkomd.c,v 0.16 1991/08/30 07:07:36 ceder Exp $"; static char *rcsid = "$Id: ramkomd.c,v 0.17 1991/08/31 20:17:51 ceder Exp $";
#include <m-config.h> #include <m-config.h>
...@@ -18,9 +18,10 @@ static char *rcsid = "$Id: ramkomd.c,v 0.16 1991/08/30 07:07:36 ceder Exp $"; ...@@ -18,9 +18,10 @@ static char *rcsid = "$Id: ramkomd.c,v 0.16 1991/08/30 07:07:36 ceder Exp $";
#include <ctype.h> #include <ctype.h>
#include <netdb.h> #include <netdb.h>
#include <string.h> #include <string.h>
#ifdef HAVE_LOCALE #include <locale.h> /* Not all machines have locale.h - for those
#include <locale.h> that don't have it we supply an empty
#endif <locale.h>. gcc -M tries to include files,
even if they are #ifdef'd out. */
#include <sys/types.h> #include <sys/types.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <sys/param.h> #include <sys/param.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment