Skip to content

Commit 2a71de8

Browse files
committed
Remove unneeded includes of <sys/stat.h>
Since bfb9dfd, none of the files updated in this commit have any stat() calls, so these inclusions are not necessary, for the same reasons as 233cf6e. Per discussion with John Naylor. Discussion: https://postgr.es/m/CAFBsxsGGGX7KD6RxbNoSJzuSc8Gz3hOxcfhTOMLB_hJcm68dKQ@mail.gmail.com
1 parent a5ac3e7 commit 2a71de8

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

src/backend/access/heap/rewriteheap.c

-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@
102102
*/
103103
#include "postgres.h"
104104

105-
#include <sys/stat.h>
106105
#include <unistd.h>
107106

108107
#include "access/heapam.h"

src/backend/storage/file/copydir.c

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

2121
#include <fcntl.h>
2222
#include <unistd.h>
23-
#include <sys/stat.h>
2423

2524
#include "common/file_utils.h"
2625
#include "miscadmin.h"

src/timezone/pgtz.c

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
#include <ctype.h>
1616
#include <fcntl.h>
17-
#include <sys/stat.h>
1817
#include <time.h>
1918

2019
#include "common/file_utils.h"

0 commit comments

Comments
 (0)