]> granicus.if.org Git - postgresql/commitdiff
Properly declare FeBeWaitSet.
authorAndres Freund <andres@anarazel.de>
Mon, 21 Mar 2016 11:58:18 +0000 (12:58 +0100)
committerAndres Freund <andres@anarazel.de>
Mon, 21 Mar 2016 11:58:18 +0000 (12:58 +0100)
Surprising that this worked on a number of systems. Reported by
buildfarm member longfin.

src/backend/libpq/pqcomm.c
src/include/libpq/libpq.h

index acd005eb9790db200a88437f6db9f2ec950f43f5..8d6eb0b7bbf6ef71fb73a77a750ba45503dc7eb5 100644 (file)
@@ -165,6 +165,7 @@ static PQcommMethods PqCommSocketMethods = {
 
 PQcommMethods *PqCommMethods = &PqCommSocketMethods;
 
+WaitEventSet *FeBeWaitSet;
 
 
 /* --------------------------------
index 109fdf72b5b3814516d0205ffb10ae760ba38085..547d3b8234923e256d2fe677b1285be74980c71e 100644 (file)
@@ -96,7 +96,7 @@ extern ssize_t secure_raw_write(Port *port, const void *ptr, size_t len);
 
 extern bool ssl_loaded_verify_locations;
 
-WaitEventSet *FeBeWaitSet;
+extern WaitEventSet *FeBeWaitSet;
 
 /* GUCs */
 extern char *SSLCipherSuites;