Parcourir la source

LibCore: Include sys/ucred.h in System.h for FreeBSD

nipos il y a 2 ans
Parent
commit
938a4e26b5
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4 0
      Userland/Libraries/LibCore/System.h

+ 4 - 0
Userland/Libraries/LibCore/System.h

@@ -39,6 +39,10 @@
 #    include <shadow.h>
 #endif
 
+#ifdef AK_OS_FREEBSD
+#    include <sys/ucred.h>
+#endif
+
 #ifdef AK_OS_SOLARIS
 #    include <sys/filio.h>
 #    include <ucred.h>