bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-inetutils] [PATCH] Missing header in icmp_timestamp.c


From: Debarshi Ray
Subject: [bug-inetutils] [PATCH] Missing header in icmp_timestamp.c
Date: Sat, 9 Aug 2008 23:57:46 +0530

There is a missing stddef.h to get the standard definition of NULL.
Here is a patch I wish to commit to fix this:

Index: ChangeLog
===================================================================
RCS file: /sources/inetutils/inetutils/ChangeLog,v
retrieving revision 1.314
diff -u -p -r1.314 ChangeLog
--- ChangeLog   19 Jul 2008 10:25:33 -0000      1.314
+++ ChangeLog   9 Aug 2008 18:24:53 -0000
@@ -1,3 +1,7 @@
+2008-08-09  Debarshi Ray <address@hidden>
+
+       * libicmp/icmp_timestamp.c: Include <stddef.h>.
+
 2008-07-19  Sergey Poznyakoff  <address@hidden>

        * inetd.c (TOOMANY): Raise to 1000, as specified in the docs.
Index: libicmp/icmp_timestamp.c
===================================================================
RCS file: /sources/inetutils/inetutils/libicmp/icmp_timestamp.c,v
retrieving revision 1.8
diff -u -p -r1.8 icmp_timestamp.c
--- libicmp/icmp_timestamp.c    29 Jun 2007 16:29:32 -0000      1.8
+++ libicmp/icmp_timestamp.c    9 Aug 2008 18:24:54 -0000
@@ -25,6 +25,7 @@
 #include <sys/socket.h>
 #include <sys/time.h>
 #include <signal.h>
+#include <stddef.h>

 #include <netinet/in_systm.h>
 #include <netinet/in.h>

Comments?

Happy hacking,
Debarshi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]