WireGuard Archive on lore.kernel.org
 help / color / Atom feed
From: "René van Dorst" <opensource@vdorst.com>
To: Jason@zx2c4.com
Cc: wireguard@lists.zx2c4.com
Subject: [PATCH] timers: local_clock() is defined in linux/sched.h in kernel below v4.11
Date: Thu, 13 Jun 2019 11:40:16 +0200
Message-ID: <20190613094016.11992-1-opensource@vdorst.com> (raw)

Fixes: 7a79457255d5  ("global: switch to local_clock()")
Signed-off-by: René van Dorst <opensource@vdorst.com>
 src/timers.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/timers.h b/src/timers.h
index ef1205690915..3af326056f3d 100644
--- a/src/timers.h
+++ b/src/timers.h
@@ -6,7 +6,11 @@
 #ifndef _WG_TIMERS_H
 #define _WG_TIMERS_H
+#include <linux/sched.h>
 #include <linux/sched/clock.h>
 struct wg_peer;

WireGuard mailing list

             reply index

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-13  9:40 René van Dorst [this message]
2019-06-13  9:42 ` Jason A. Donenfeld

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190613094016.11992-1-opensource@vdorst.com \
    --to=opensource@vdorst.com \
    --cc=Jason@zx2c4.com \
    --cc=wireguard@lists.zx2c4.com \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

WireGuard Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/wireguard/0 wireguard/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 wireguard wireguard/ https://lore.kernel.org/wireguard \
		wireguard@lists.zx2c4.com zx2c4-wireguard@archiver.kernel.org
	public-inbox-index wireguard

Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/ public-inbox