summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-10-09 20:20:43 +0000
committerru <ru@FreeBSD.org>2002-10-09 20:20:43 +0000
commit908ae3fbf2d09a534e2f550ad28df1990ec7e7f9 (patch)
treee4a1bef441404ff338f258d1f8cbf91baf842bb9 /libexec
parentb67dc726b1d7701ec238373bf94c13caf097fd62 (diff)
downloadFreeBSD-src-908ae3fbf2d09a534e2f550ad28df1990ec7e7f9.zip
FreeBSD-src-908ae3fbf2d09a534e2f550ad28df1990ec7e7f9.tar.gz
<machine/atomic.h> requires <sys/types.h>.
Reviewed by: jake, mike
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rtld-elf/sparc64/lockdflt.c2
-rw-r--r--libexec/rtld-elf/sparc64/rtld_machdep.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/libexec/rtld-elf/sparc64/lockdflt.c b/libexec/rtld-elf/sparc64/lockdflt.c
index 70dc733..c60a32f 100644
--- a/libexec/rtld-elf/sparc64/lockdflt.c
+++ b/libexec/rtld-elf/sparc64/lockdflt.c
@@ -46,8 +46,6 @@
#include <stdlib.h>
#include <time.h>
-#include <machine/atomic.h>
-
#include "debug.h"
#include "rtld.h"
#include "rtld_machdep.h"
diff --git a/libexec/rtld-elf/sparc64/rtld_machdep.h b/libexec/rtld-elf/sparc64/rtld_machdep.h
index 89c5abe..f91840f 100644
--- a/libexec/rtld-elf/sparc64/rtld_machdep.h
+++ b/libexec/rtld-elf/sparc64/rtld_machdep.h
@@ -29,6 +29,7 @@
#ifndef RTLD_MACHDEP_H
#define RTLD_MACHDEP_H 1
+#include <sys/types.h>
#include <machine/atomic.h>
#define atomic_incr_int(p) atomic_add_int((p), 1)
OpenPOWER on IntegriCloud