[Git][NTPsec/ntpsec][master] WIP: ntpd.c: Add missing pthread.h include.

Hal Murray gitlab at mg.gitlab.com
Thu Sep 3 05:06:11 UTC 2020



Hal Murray pushed to branch master at NTPsec / ntpsec


Commits:
8b909b6f by Fred Wright at 2020-09-02T20:11:05-07:00
WIP: ntpd.c: Add missing pthread.h include.

Commit 46af561a8c added a call to pthread_setschedparam() without
adding the appropriate include.  For some reason, this didn't provoke
compiler warnings as widely as one would expect.

TESTED:
Pending.

- - - - -


1 changed file:

- ntpd/ntpd.c


Changes:

=====================================
ntpd/ntpd.c
=====================================
@@ -24,6 +24,7 @@
 # include <sys/ioctl.h>
 #endif /* HAVE_SYS_IOCTL_H */
 #include <sched.h>
+#include <pthread.h>  /* For pthread_setschedparam() */
 #include <sys/mman.h>
 
 #include <termios.h>



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/8b909b6fdceaba4983d34013591aee2fb6c4c14e

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/8b909b6fdceaba4983d34013591aee2fb6c4c14e
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20200903/6d083cf6/attachment.htm>


More information about the vc mailing list