Fix build on CURRENT after PS_SWAPPINGOUT rename

This commit is contained in:
Tilman Keskinoz 2007-10-05 13:48:41 +00:00
parent 2e7c611cc3
commit c63adb00c6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200910

View file

@ -0,0 +1,12 @@
--- ps/ps.c.orig 2007-10-05 15:41:41.000000000 +0200
+++ ps/ps.c 2007-10-05 15:43:31.000000000 +0200
@@ -88,6 +88,9 @@
#define proc process
#undef p_pgid
#undef p_pctcpu
+#if !defined(PS_SWAPPINGOUT) && defined(P_SWAPPINGOUT)
+#define PS_SWAPPINGOUT P_SWAPPINGOUT
+#endif
#if defined (__DragonFly__)
#endif /* __DragonFly__ */
#elif defined (__hpux)