[ntpsec commit] Add include unistd.h

Hal Murray murray at ntpsec.org
Fri Oct 2 05:52:53 UTC 2015


Module:    ntpsec
Branch:    master
Commit:    0eccb213476f061c060181740fb65d54c28c2ac7
Changeset: http://git.ntpsec.org/ntpsec/commit/?id=0eccb213476f061c060181740fb65d54c28c2ac7

Author:    Hal Murray <hmurray at megapathdsl.net>
Date:      Thu Oct  1 22:51:42 2015 -0700

Add include unistd.h

Needed on Linux.

---

 util/pps-api.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/util/pps-api.c b/util/pps-api.c
index ac03992..f6e2288 100644
--- a/util/pps-api.c
+++ b/util/pps-api.c
@@ -14,6 +14,7 @@ Poul-Henning
 #include <sys/types.h>
 #include <time.h>
 #include <sys/timepps.h>
+#include <unistd.h>
 
 #define timespecsub(vvp, uvp)                                           \
         do {                                                            \



More information about the vc mailing list