Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/configure b/configure
2index cf36d5ea43..bb59613ef6 100755
3--- a/configure
4+++ b/configure
5@@ -17215,6 +17215,7 @@
6 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7 /* end confdefs.h. */
8 #include <linux/perf_event.h>
9+ #include <unistd.h>
10 #include <asm/unistd.h>
11 #include <sys/types.h>
12 #include <string.h>