Commit:     cb4db4c22182163f66325053331a4e7096f663cd
Parent:     e44c39bd8478bf9e41cbc611c74b5879a7b29f58
Author:     David Woodhouse <[EMAIL PROTECTED]>
AuthorDate: Thu Dec 28 21:21:55 2006 -0800
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Sun Dec 31 14:06:49 2006 -0800

    [NET]: Don't export linux/random.h outside __KERNEL__.
    Don't add it there please; add it lower down inside the existing #ifdef
    __KERNEL__. You just made the _userspace_ net.h include random.h, which
    then fails to compile unless <asm/types.h> was already included.
    Signed-off-by: David Woodhouse <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
 include/linux/net.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/net.h b/include/linux/net.h
index 6f0dfeb..f28d8a2 100644
--- a/include/linux/net.h
+++ b/include/linux/net.h
@@ -19,7 +19,6 @@
 #define _LINUX_NET_H
 #include <linux/wait.h>
-#include <linux/random.h>
 #include <asm/socket.h>
 struct poll_table_struct;
@@ -57,6 +56,7 @@ typedef enum {
 #ifdef __KERNEL__
 #include <linux/stringify.h>
+#include <linux/random.h>
 #define SOCK_ASYNC_NOSPACE     0
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to