You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-dialup/accel-ppp/files/accel-ppp-1.11.1-socklen.patch

19 lines
483 B

commit 68008248259dfaa2fde91f8697db889971056bb3
Author: lmwangi <lmwangi@gmail.com>
Date: Tue Jun 7 13:55:04 2016 +0300
fix build issue where socketlen is not found
diff --git a/accel-pppd/logs/log_pgsql.c b/accel-pppd/logs/log_pgsql.c
index e4b5a9e..78fa72d 100644
--- a/accel-pppd/logs/log_pgsql.c
+++ b/accel-pppd/logs/log_pgsql.c
@@ -1,6 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <sys/socket.h>
#include <postgresql/libpq-fe.h>