openbsd-ports/net/ntp/patches/patch-ntpdc_ntpdc_ops_c
sturm 3fcc829ef4 SECURITY:
fix gid confusion when starting ntpd with -u groupname
CAN-2005-2496
2006-01-24 19:58:58 +00:00

32 lines
711 B
Plaintext

$OpenBSD: patch-ntpdc_ntpdc_ops_c,v 1.2 2006/01/24 19:58:58 sturm Exp $
--- ntpdc/ntpdc_ops.c.orig Tue May 25 13:02:25 2004
+++ ntpdc/ntpdc_ops.c Tue Jan 24 20:52:44 2006
@@ -9,21 +9,21 @@
#include <stdio.h>
#include <stddef.h>
-#include "ntpdc.h"
-#include "ntp_control.h"
-#include "ntp_refclock.h"
-#include "ntp_stdlib.h"
-
#include <ctype.h>
#ifdef HAVE_SYS_TIMEX_H
# include <sys/timex.h>
#endif
#include <netdb.h>
-#if !defined(__bsdi__) && !defined(apollo)
+#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
#include <arpa/inet.h>
+
+#include "ntpdc.h"
+#include "ntp_control.h"
+#include "ntp_refclock.h"
+#include "ntp_stdlib.h"
/*
* Declarations for command handlers in here