diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 1999-07-16 23:09:45 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 1999-07-16 23:09:45 +0000 |
commit | e1e110228f8a2a42e48be7ee0735496413b06946 (patch) | |
tree | 9b7b4de4160661315ed04876f9ff10498c5492c5 /src | |
parent | 1a6c5b96addc31786c7e5438501438664a4d2e3f (diff) | |
download | postgresql-e1e110228f8a2a42e48be7ee0735496413b06946.tar.gz postgresql-e1e110228f8a2a42e48be7ee0735496413b06946.zip |
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 ...
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/port/random.c | 4 | ||||
-rw-r--r-- | src/backend/port/srandom.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/backend/port/random.c b/src/backend/port/random.c index 7b523b48674..950b9106eca 100644 --- a/src/backend/port/random.c +++ b/src/backend/port/random.c @@ -1,9 +1,11 @@ -/* $Id: random.c,v 1.8 1999/07/16 03:13:06 momjian Exp $ */ +/* $Id: random.c,v 1.9 1999/07/16 23:09:45 tgl Exp $ */ #include <stdlib.h> #include <math.h> #include <errno.h> +#include "config.h" + long random() { diff --git a/src/backend/port/srandom.c b/src/backend/port/srandom.c index f7ff333f2e1..eb16736d4ce 100644 --- a/src/backend/port/srandom.c +++ b/src/backend/port/srandom.c @@ -1,9 +1,11 @@ -/* $Id: srandom.c,v 1.8 1999/07/16 03:13:08 momjian Exp $ */ +/* $Id: srandom.c,v 1.9 1999/07/16 23:09:45 tgl Exp $ */ #include <stdlib.h> #include <math.h> #include <errno.h> +#include "config.h" + void srandom(unsigned int seed) { |