mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Include missing headers
@ 2003-06-02 12:34 Herbert Xu
  2003-06-02 12:48 ` YOSHIFUJI Hideaki / 吉藤英明
  0 siblings, 1 reply; 2+ messages in thread
From: Herbert Xu @ 2003-06-02 12:34 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 360 bytes --]

This patch adds two missing headers:

linux/timer.h: include linux/stddef.h for NULL
linux/in.h: include linux/socket.h for sa_family_t
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

[-- Attachment #2: p --]
[-- Type: text/plain, Size: 1022 bytes --]

Index: include/linux/timer.h
===================================================================
RCS file: /home/gondolin/herbert/src/CVS/debian/kernel-source-2.4/include/linux/timer.h,v
retrieving revision 1.1.1.7
diff -u -r1.1.1.7 timer.h
--- include/linux/timer.h	5 Nov 2001 20:42:13 -0000	1.1.1.7
+++ include/linux/timer.h	2 Jun 2003 12:31:23 -0000
@@ -3,6 +3,7 @@
 
 #include <linux/config.h>
 #include <linux/list.h>
+#include <linux/stddef.h>
 
 /*
  * In Linux 2.4, static timers have been removed from the kernel.
Index: include/linux/in.h
===================================================================
RCS file: /home/gondolin/herbert/src/CVS/debian/kernel-source-2.4/include/linux/in.h,v
retrieving revision 1.1.1.3
diff -u -r1.1.1.3 in.h
--- include/linux/in.h	1 Jun 2003 07:27:00 -0000	1.1.1.3
+++ include/linux/in.h	2 Jun 2003 12:32:37 -0000
@@ -18,6 +18,7 @@
 #ifndef _LINUX_IN_H
 #define _LINUX_IN_H
 
+#include <linux/socket.h>
 #include <linux/types.h>
 
 /* Standard well-defined IP protocols.  */

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Include missing headers
  2003-06-02 12:34 [PATCH] Include missing headers Herbert Xu
@ 2003-06-02 12:48 ` YOSHIFUJI Hideaki / 吉藤英明
  0 siblings, 0 replies; 2+ messages in thread
From: YOSHIFUJI Hideaki / 吉藤英明 @ 2003-06-02 12:48 UTC (permalink / raw)
  To: herbert; +Cc: marcelo, linux-kernel

In article <20030602123438.GA13415@gondor.apana.org.au> (at Mon, 2 Jun 2003 22:34:38 +1000), Herbert Xu <herbert@gondor.apana.org.au> says:

>  #define _LINUX_IN_H
>  
> +#include <linux/socket.h>
>  #include <linux/types.h>
>  
>  /* Standard well-defined IP protocols.  */

It is much natural to include linux/types.h before linux/socket.h.

-- 
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@linux-ipv6.org>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-02 12:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-02 12:34 [PATCH] Include missing headers Herbert Xu
2003-06-02 12:48 ` YOSHIFUJI Hideaki / 吉藤英明

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®