mirror of
https://github.com/systemd/systemd
synced 2024-09-06 08:46:19 +00:00
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;
This commit is contained in:
parent
e1a8917ae1
commit
9745b51c73
|
@ -2,6 +2,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include "def.h"
|
||||
#include "hashmap.h"
|
||||
|
|
Loading…
Reference in a new issue