diff --git a/build/jam/ArchitectureRules b/build/jam/ArchitectureRules index bd833c7224..375e0c44ed 100644 --- a/build/jam/ArchitectureRules +++ b/build/jam/ArchitectureRules @@ -673,6 +673,7 @@ rule ArchitectureSetupWarnings architecture EnableWerror src bin package ; EnableWerror src bin package_repo ; EnableWerror src bin pkgman ; + EnableWerror src libs bsd ; EnableWerror src apps ; EnableWerror src kits ; EnableWerror src preferences ; diff --git a/src/libs/bsd/fgetln.c b/src/libs/bsd/fgetln.c index 65b3194a06..944d23955b 100644 --- a/src/libs/bsd/fgetln.c +++ b/src/libs/bsd/fgetln.c @@ -9,6 +9,7 @@ #include #include +#include #define LINE_LENGTH 4096 diff --git a/src/libs/bsd/getpass.c b/src/libs/bsd/getpass.c index bdd993c9a5..45676c0b3e 100644 --- a/src/libs/bsd/getpass.c +++ b/src/libs/bsd/getpass.c @@ -9,6 +9,7 @@ #include #include +#include #include #include