From 3e854006c772dfa185b5c980cf0b72fab1e69a7e Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Wed, 31 Jan 2018 17:23:40 +0100 Subject: [PATCH] ntp: add missing header guard --- ntp_io_linux.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ntp_io_linux.h b/ntp_io_linux.h index cec7887..1702a58 100644 --- a/ntp_io_linux.h +++ b/ntp_io_linux.h @@ -24,6 +24,9 @@ This is the header file for the Linux-specific NTP socket I/O bits. */ +#ifndef GOT_NTP_IO_LINUX_H +#define GOT_NTP_IO_LINUX_H + extern void NIO_Linux_Initialise(void); extern void NIO_Linux_Finalise(void); @@ -34,3 +37,5 @@ extern int NIO_Linux_ProcessMessage(NTP_Remote_Address *remote_addr, NTP_Local_A NTP_Local_Timestamp *local_ts, struct msghdr *hdr, int length); extern int NIO_Linux_RequestTxTimestamp(struct msghdr *msg, int cmsglen, int sock_fd); + +#endif