summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2001-05-01 09:30:02 +0000
committermarkm <markm@FreeBSD.org>2001-05-01 09:30:02 +0000
commit10ca856588fd47080a7cb4edd18a0378010c2a23 (patch)
treee6236c3bebc0976af1041e0dd9faec577d1107ab /lib/libc/gen
parentef9fe039e77f3c91a27397323de8febd10d089b5 (diff)
downloadFreeBSD-src-10ca856588fd47080a7cb4edd18a0378010c2a23.zip
FreeBSD-src-10ca856588fd47080a7cb4edd18a0378010c2a23.tar.gz
Compensate for header dethreading.
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/fstab.c2
-rw-r--r--lib/libc/gen/getmntinfo.c4
-rw-r--r--lib/libc/gen/getvfsbyname.c2
-rw-r--r--lib/libc/gen/getvfsent.c2
-rw-r--r--lib/libc/gen/opendir.c2
5 files changed, 12 insertions, 0 deletions
diff --git a/lib/libc/gen/fstab.c b/lib/libc/gen/fstab.c
index 9170ae9..148e421 100644
--- a/lib/libc/gen/fstab.c
+++ b/lib/libc/gen/fstab.c
@@ -44,6 +44,8 @@ static char rcsid[] =
#include "namespace.h"
#include <sys/param.h>
+#include <sys/lock.h>
+#include <sys/mutex.h>
#include <sys/mount.h>
#include <sys/stat.h>
diff --git a/lib/libc/gen/getmntinfo.c b/lib/libc/gen/getmntinfo.c
index 6e167a3..a2ee237 100644
--- a/lib/libc/gen/getmntinfo.c
+++ b/lib/libc/gen/getmntinfo.c
@@ -29,6 +29,8 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
+ *
+ * $FreeBSD$
*/
#if defined(LIBC_SCCS) && !defined(lint)
@@ -36,6 +38,8 @@ static char sccsid[] = "@(#)getmntinfo.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
+#include <sys/lock.h>
+#include <sys/mutex.h>
#include <sys/ucred.h>
#include <sys/mount.h>
#include <stdlib.h>
diff --git a/lib/libc/gen/getvfsbyname.c b/lib/libc/gen/getvfsbyname.c
index a8f6913..f5e3283 100644
--- a/lib/libc/gen/getvfsbyname.c
+++ b/lib/libc/gen/getvfsbyname.c
@@ -40,6 +40,8 @@ static const char rcsid[] =
#endif /* not lint */
#include <sys/param.h>
+#include <sys/lock.h>
+#include <sys/mutex.h>
#include <sys/mount.h>
#include <sys/sysctl.h>
#include <errno.h>
diff --git a/lib/libc/gen/getvfsent.c b/lib/libc/gen/getvfsent.c
index 2b8998c..d86dfa0 100644
--- a/lib/libc/gen/getvfsent.c
+++ b/lib/libc/gen/getvfsent.c
@@ -7,6 +7,8 @@
*/
#include <sys/param.h>
+#include <sys/lock.h>
+#include <sys/mutex.h>
#include <sys/types.h>
#include <sys/mount.h>
#include <sys/sysctl.h>
diff --git a/lib/libc/gen/opendir.c b/lib/libc/gen/opendir.c
index d1762f5..8af17a6 100644
--- a/lib/libc/gen/opendir.c
+++ b/lib/libc/gen/opendir.c
@@ -39,6 +39,8 @@ static char sccsid[] = "@(#)opendir.c 8.8 (Berkeley) 5/1/95";
#include "namespace.h"
#include <sys/param.h>
+#include <sys/lock.h>
+#include <sys/mutex.h>
#include <sys/mount.h>
#include <sys/stat.h>
OpenPOWER on IntegriCloud