- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit14e2d9a
committed
Include <sys/select.h> where needed
<sys/select.h> is required by POSIX.1-2001 to get the prototype ofselect(2), but nearly no systems enforce that because older standardslet you get away with including some other headers. Recent OpenBSDhacking has removed that frail touch of friendliness, however, whichbroke some compiles; fix all the way back to 9.1 by adding the requiredstandard. Only vacuumdb.c was reported to fail, but it seems easier tofix the whole lot in a fell swoop.Per bug #14334 by Sean Farrell.1 parentf83b72e commit14e2d9a
File tree
5 files changed
+16
-1
lines changed- src
- backend
- libpq
- postmaster
- bin/pg_basebackup
- port
- test/examples
5 files changed
+16
-1
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
| 23 | + | |
| 24 | + | |
| 25 | + | |
23 | 26 |
| |
24 | 27 |
| |
25 | 28 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
| 37 | + | |
| 38 | + | |
| 39 | + | |
37 | 40 |
| |
38 | 41 |
| |
39 | 42 |
| |
|
Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
22 | 24 |
| |
23 | 25 |
| |
24 | 26 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| 17 | + | |
| 18 | + | |
| 19 | + | |
17 | 20 |
| |
18 | 21 |
| |
19 | 22 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
37 | 41 |
| |
38 | 42 |
| |
39 | 43 |
| |
|
0 commit comments
Comments
(0)