Skip to content

Commit e1e1102

Browse files
committed
Add back improperly removed #include for config.h.
This probably ought to be kept in *all* the port files, but these two are the only ones that generated compiler warnings for me ...
1 parent 1a6c5b9 commit e1e1102

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/backend/port/random.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
/* $Id: random.c,v 1.8 1999/07/16 03:13:06 momjian Exp $ */
1+
/* $Id: random.c,v 1.9 1999/07/16 23:09:45 tgl Exp $ */
22

33
#include <stdlib.h>
44
#include <math.h>
55
#include <errno.h>
66

7+
#include "config.h"
8+
79
long
810
random()
911
{

src/backend/port/srandom.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
/* $Id: srandom.c,v 1.8 1999/07/16 03:13:08 momjian Exp $ */
1+
/* $Id: srandom.c,v 1.9 1999/07/16 23:09:45 tgl Exp $ */
22

33
#include <stdlib.h>
44
#include <math.h>
55
#include <errno.h>
66

7+
#include "config.h"
8+
79
void
810
srandom(unsigned int seed)
911
{

0 commit comments

Comments
 (0)