summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorart <art@openbsd.org>1999-06-23 11:47:29 +0000
committerart <art@openbsd.org>1999-06-23 11:47:29 +0000
commitcaa9bbf61f1289275bc49f761f99f2f1c9068292 (patch)
tree464e77761be827d612b5be2da1178d05d33de3a9
parentWhen redirecting to a file with stdout closed, don't blithely reuse (diff)
downloadwireguard-openbsd-caa9bbf61f1289275bc49f761f99f2f1c9068292.tar.xz
wireguard-openbsd-caa9bbf61f1289275bc49f761f99f2f1c9068292.zip
add -DUVM if we run UVM
-rw-r--r--usr.sbin/pstat/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/pstat/Makefile b/usr.sbin/pstat/Makefile
index 7462f48a83b..89def539dfb 100644
--- a/usr.sbin/pstat/Makefile
+++ b/usr.sbin/pstat/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 1997/09/21 11:44:06 deraadt Exp $
+# $OpenBSD: Makefile,v 1.4 1999/06/23 11:47:29 art Exp $
PROG= pstat
MAN= pstat.8
@@ -8,3 +8,8 @@ DPADD= ${LIBKVM}
LDADD= -lkvm
.include <bsd.prog.mk>
+
+.if (${UVM} == "yes")
+CFLAGS+=-DUVM
+.endif
+