summaryrefslogtreecommitdiffstats
path: root/sys/fs/procfs
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-04-21 15:35:54 +0000
committerbde <bde@FreeBSD.org>2002-04-21 15:35:54 +0000
commit2deaae67fa55dce5bc5df014d91cf41bfdcf4e92 (patch)
treeff19cbb1b849ade91df1855287db623dd3bbfd62 /sys/fs/procfs
parent20c79cca8d7f7bcdd14c6d61d9783fa8effdf8f6 (diff)
downloadFreeBSD-src-2deaae67fa55dce5bc5df014d91cf41bfdcf4e92.zip
FreeBSD-src-2deaae67fa55dce5bc5df014d91cf41bfdcf4e92.tar.gz
Include <sys/systm.h> for (at least) the definition of atomic functions
which are sometimes used by the macros in <sys/mutex.h>; don't depend on not-quite-necessary namespace pollution in <sys/mutex.h>.
Diffstat (limited to 'sys/fs/procfs')
-rw-r--r--sys/fs/procfs/procfs_mem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/fs/procfs/procfs_mem.c b/sys/fs/procfs/procfs_mem.c
index 09d02de..1f92373 100644
--- a/sys/fs/procfs/procfs_mem.c
+++ b/sys/fs/procfs/procfs_mem.c
@@ -45,6 +45,7 @@
#include <sys/mutex.h>
#include <sys/proc.h>
#include <sys/ptrace.h>
+#include <sys/systm.h>
#include <sys/uio.h>
#include <fs/pseudofs/pseudofs.h>
OpenPOWER on IntegriCloud