ntp (1:4.2.6.p5+dfsg-2) includes.patch

Summary

 include/ntp_control.h |    4 ++++
 include/ntpd.h        |    1 +
 2 files changed, 5 insertions(+)

    
download this patch

Patch contents

    - Make a few include files be self-skipping and self-complete.

 -- Matthias Urlichs <smurf@debian.org>  Tue, 15 Mar 2005 11:09:52 +0100

Index: ntp-4.2.6+dfsg/include/ntp_control.h
===================================================================
--- ntp-4.2.6+dfsg.orig/include/ntp_control.h	2009-12-09 07:36:36.000000000 +0000
+++ ntp-4.2.6+dfsg/include/ntp_control.h	2009-12-23 21:28:40.000000000 +0000
@@ -1,3 +1,5 @@
+#ifndef NTP_CONTROL
+#define NTP_CONTROL
 /*
  * ntp_control.h - definitions related to NTP mode 6 control messages
  */
@@ -289,3 +291,5 @@
 #define	TYPE_SYS	1
 #define	TYPE_PEER	2
 #define	TYPE_CLOCK	3
+
+#endif /* NTP_CONTROL */
Index: ntp-4.2.6+dfsg/include/ntpd.h
===================================================================
--- ntp-4.2.6+dfsg.orig/include/ntpd.h	2009-12-09 07:36:35.000000000 +0000
+++ ntp-4.2.6+dfsg/include/ntpd.h	2009-12-23 21:28:40.000000000 +0000
@@ -9,6 +9,7 @@
 #include "ntp_select.h"
 #include "ntp_malloc.h"
 #include "ntp_refclock.h"
+#include "ntp_control.h"
 #include "recvbuff.h"
 
 /* ntp_config.c */