]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
Add include for uid_t
authorChristian Göttsche <cgzones@googlemail.com>
Fri, 5 Aug 2022 15:40:34 +0000 (17:40 +0200)
committerSerge Hallyn <serge@hallyn.com>
Sat, 6 Aug 2022 16:27:56 +0000 (11:27 -0500)
Allow IDEs to parse the header file on its own.

libmisc/idmapping.h

index e20bd60f761e0356d61dede21c870b088e6e9342..46d4631204849743bea8d15f26b8ecfa2906697c 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef _IDMAPPING_H_
 #define _IDMAPPING_H_
 
+#include <sys/types.h>
+
 struct map_range {
        unsigned long upper; /* first ID inside the namespace */
        unsigned long lower; /* first ID outside the namespace */