openbsd-ports/sysutils/xuvmstat/patches/patch-get_uvmexp_c
wcobb bcae81740d - pull in errx() prototype from <err.h>.
- main() is int.
ok pvalchev@
2002-08-29 01:58:57 +00:00

19 lines
505 B
Plaintext

$OpenBSD: patch-get_uvmexp_c,v 1.3 2002/08/29 01:58:57 wcobb Exp $
--- get_uvmexp.c.orig Mon Feb 19 10:23:55 2001
+++ get_uvmexp.c Wed Aug 28 00:18:44 2002
@@ -20,11 +20,13 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+#include <err.h>
#include <stdio.h>
#include <sys/param.h>
#include <sys/sysctl.h>
#include <uvm/uvm_extern.h>
-
+#include <uvm/uvm_param.h>
void get_uvmexp(uvmexp)