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

 



From: Vinson Lee <vlee@xxxxxxxxxxx>

This patch fixes this build error with glibc before 2.13.

  CC	net/alg.o
net/alg.c: In function ‘alg_gen_sockaddr’:
net/alg.c:21: error: ‘PF_ALG’ undeclared (first use in this function)
net/alg.c:21: error: (Each undeclared identifier is reported only once
net/alg.c:21: error: for each function it appears in.)

Signed-off-by: Vinson Lee <vlee@xxxxxxxxxxx>
---
 net/alg.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/net/alg.c b/net/alg.c
index d13909b..86cdb66 100644
--- a/net/alg.c
+++ b/net/alg.c
@@ -5,6 +5,7 @@
 #include <stdlib.h>
 #include "config.h"
 #include "net.h"
+#include "compat.h"
 
 #ifdef USE_IF_ALG
 #include <linux/if_alg.h>
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe trinity" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux