summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2012-12-05 12:54:15 +0000
committermillert <millert@openbsd.org>2012-12-05 12:54:15 +0000
commitf54dc658babf5ea2db1eda14c5aca2d84e0931b5 (patch)
tree18bb1a0f328a706a527ad8a7d6d4c728540888b7
parentfix from freebsd to correctly account rx errors; problem reported (diff)
downloadwireguard-openbsd-f54dc658babf5ea2db1eda14c5aca2d84e0931b5.tar.xz
wireguard-openbsd-f54dc658babf5ea2db1eda14c5aca2d84e0931b5.zip
Explicitly include sys/resource.h for RLIM_INF, etc.
-rw-r--r--usr.bin/kdump/kdump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c
index cfa81e46f48..60f2a9dc64f 100644
--- a/usr.bin/kdump/kdump.c
+++ b/usr.bin/kdump/kdump.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kdump.c,v 1.75 2012/07/11 11:18:40 guenther Exp $ */
+/* $OpenBSD: kdump.c,v 1.76 2012/12/05 12:54:15 millert Exp $ */
/*-
* Copyright (c) 1988, 1993
@@ -37,6 +37,7 @@
#include <sys/malloc.h>
#include <sys/namei.h>
#include <sys/ptrace.h>
+#include <sys/resource.h>
#include <sys/sem.h>
#include <sys/shm.h>
#include <sys/socket.h>