This website works better with JavaScript.
Home
Explore
Register
Sign In
Fincer
/
openntpd-openbsd
mirror of
https://github.com/Fincer/openntpd-openbsd
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
61
Wiki
Activity
Browse Source
Add a missing include for time.h to get the definitions of clock_gettime and strftime.
ok jsing@ phessler@ naddy@
OPENBSD_5_7
bcook
10 years ago
parent
fa37c0f6f5
commit
d33f0cc042
2 changed files
with
4 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
src/usr.sbin/ntpd/ntpd.c
+2
-2
src/usr.sbin/ntpd/util.c
+ 2
- 1
src/usr.sbin/ntpd/ntpd.c
View File
@ -1,4 +1,4 @@
/* $OpenBSD: ntpd.c,v 1.
79 2014/02/10 09:12:34 dtucker
Exp $ */
/* $OpenBSD: ntpd.c,v 1.
80 2015/01/04 01:11:24 bcook
Exp $ */
/*
*
Copyright
(
c
)
2003
,
2004
Henning
Brauer
<
henning
@
openbsd
.
org
>
@ -30,6 +30,7 @@
#
include
<stdio.h>
#
include
<stdlib.h>
#
include
<string.h>
#
include
<time.h>
#
include
<unistd.h>
#
include
<err.h>
+ 2
- 2
src/usr.sbin/ntpd/util.c
View File
@ -1,4 +1,4 @@
/* $OpenBSD: util.c,v 1.1
5 2013/10/15 20:35:55 krw
Exp $ */
/* $OpenBSD: util.c,v 1.1
6 2015/01/04 01:11:24 bcook
Exp $ */
/*
*
Copyright
(
c
)
2004
Alexander
Guy
<
alexander
.
guy
@
andern
.
org
>
@ -16,9 +16,9 @@
*
OUT
OF
OR
IN
CONNECTION
WITH
THE
USE
OR
PERFORMANCE
OF
THIS
SOFTWARE
.
*/
#
include
<sys/time.h>
#
include
<limits.h>
#
include
<stdio.h>
#
include
<time.h>
#
include
"ntpd.h"
Write
Preview
Loading…
Cancel
Save