summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/inet_diag.h1
-rw-r--r--include/linux/sock_diag.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/inet_diag.h b/include/linux/inet_diag.h
index 78972a149df..a27e62178d4 100644
--- a/include/linux/inet_diag.h
+++ b/include/linux/inet_diag.h
@@ -6,7 +6,6 @@
/* Just some random number */
#define TCPDIAG_GETSOCK 18
#define DCCPDIAG_GETSOCK 19
-#define SOCK_DIAG_BY_FAMILY 20
#define INET_DIAG_GETSOCK_MAX 24
diff --git a/include/linux/sock_diag.h b/include/linux/sock_diag.h
index ba4933b1213..7999778ad08 100644
--- a/include/linux/sock_diag.h
+++ b/include/linux/sock_diag.h
@@ -1,5 +1,8 @@
#ifndef __SOCK_DIAG_H__
#define __SOCK_DIAG_H__
+
+#define SOCK_DIAG_BY_FAMILY 20
+
struct sk_buff;
struct nlmsghdr;