Skip to content

Commit 9745b51

Browse files
committed
sd-hwdb: include sys/stat.h in hwdb-internal.h
Include this header to fix errors when including hwdb-internal.h: ../src/libsystemd/sd-hwdb/hwdb-internal.h:16:21: error: field ‘st’ has incomplete type 16 | struct stat st;
1 parent e1a8917 commit 9745b51

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libsystemd/sd-hwdb/hwdb-internal.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#pragma once
33

44
#include <stdint.h>
5+
#include <sys/stat.h>
56

67
#include "def.h"
78
#include "hashmap.h"

0 commit comments

Comments
 (0)