1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-27 23:21:58 +03:00

Make it compile on Ultrix. Thanks Erik Bertelson.

This commit is contained in:
Bryan Henderson
1996-11-26 03:20:35 +00:00
parent 02c0eb6549
commit 46d58fba33
25 changed files with 66 additions and 36 deletions

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.19 1996/11/14 10:25:50 bryanh Exp $
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.20 1996/11/26 03:20:35 bryanh Exp $
*
*-------------------------------------------------------------------------
*/
@ -30,11 +30,12 @@
#include "fe-auth.h"
#include "libpq-fe.h"
#include <port-protos.h> /* for strdup() */
#if defined(ultrix4) || defined(next)
/* ultrix is lame and doesn't have strdup in libc for some reason */
/* [TRH] So doesn't NEXTSTEP. But whaddaya expect for a non-ANSI
standard function? (My, my. Touchy today, are we?) */
static
char *
strdup(const char *string)
{