pgsql: Remove unnecessary include of <sys/socket.h>

Started by Peter Eisentrautover 2 years ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

Remove unnecessary include of <sys/socket.h>

This was put here as part of a mechanical replacement of the old
"getaddrinfo.h" with <netdb.h> plus <sys/socket.h> (commit
5579388d2d). But here, we only need netdb.h (for NI_MAXHOST), not
sys/socket.h.

Reviewed-by: Shubham Khanna <Shubham.Khanna@fujitsu.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: /messages/by-id/cff5475d-e0a9-4561-b094-794aa36bd031@eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/da67cb0a4487bfbf269de72de9d9252dfc80813d

Modified Files
--------------
src/include/replication/walreceiver.h | 1 -
1 file changed, 1 deletion(-)