From 2fe7865372ff41c4f117d8456a7eb9446b7d8463 Mon Sep 17 00:00:00 2001
From: Daniel Fox Franke <dfoxfranke@gmail.com>
Date: Sat, 11 Jan 2020 15:47:13 -0500
Subject: [PATCH] Include <sys/timex.h> in libc-test

---
 libc-test/build.rs | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libc-test/build.rs b/libc-test/build.rs
index b8e8ac85..4be4dde3 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -150,6 +150,7 @@ fn test_apple(target: &str) {
         "sys/sysctl.h",
         "sys/time.h",
         "sys/times.h",
+        "sys/timex.h",
         "sys/types.h",
         "sys/uio.h",
         "sys/un.h",
@@ -819,6 +820,7 @@ fn test_netbsd(target: &str) {
         "sys/sysctl.h",
         "sys/time.h",
         "sys/times.h",
+        "sys/timex.h",
         "sys/uio.h",
         "sys/un.h",
         "sys/utsname.h",
@@ -1569,6 +1571,7 @@ fn test_freebsd(target: &str) {
                 "sys/sysctl.h",
                 "sys/time.h",
                 "sys/times.h",
+                "sys/timex.h",
                 "sys/types.h",
                 "sys/uio.h",
                 "sys/un.h",
@@ -2183,6 +2186,7 @@ fn test_linux(target: &str) {
                "sys/time.h",
                "sys/timerfd.h",
                "sys/times.h",
+               "sys/timex.h",
                "sys/types.h",
                "sys/uio.h",
                "sys/un.h",
-- 
GitLab