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:
Nick Rosbrook 2022-05-26 14:32:20 -04:00
parent e1a8917ae1
commit 9745b51c73

View file

@ -2,6 +2,7 @@
#pragma once
#include <stdint.h>
#include <sys/stat.h>
#include "def.h"
#include "hashmap.h"