summaryrefslogtreecommitdiff
path: root/devel/pmake/files/patch-ah
blob: b291985ddd615b336173ef63d955b03787756ff2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- customs/os-bsd.c.orig	Thu Nov 12 16:45:42 1998
+++ customs/os-bsd.c	Thu Nov 12 16:47:14 1998
@@ -162,6 +162,15 @@
 # define NO_SWAP		/* doesn't have old BSD kernel structures */
 #endif /* bsdi */
 
+#ifdef __FreeBSD__
+# define KERNEL_FILE		"/kernel"
+# define NLIST_AVENRUN		"_averunnable"
+# define NLIST_NPROC		"_maxproc"
+# define NLIST_NPROCS		"_nprocs"
+# define UTMP_FILE		"/var/run/utmp"
+# define NO_SWAP		/* doesn't have old BSD kernel structures */
+#endif /* __FreeBSD__ */
+
 				/* defaults for most BSD systems */
 #ifndef n_symbol
 # define n_symbol		n_name