summaryrefslogtreecommitdiffstats
path: root/package/network/services/ppp/patches/131-missing_prototype_macro.patch
blob: 868a08b60f43d5e5f5c7b73d49f10590294b7678 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- a/pppd/pppd.h
+++ b/pppd/pppd.h
@@ -67,6 +67,9 @@
 #define volatile
 #endif
 
+#undef __P
+#define __P(args) args
+
 #ifdef INET6
 #include "eui64.h"
 #endif
--- a/pppd/magic.h
+++ b/pppd/magic.h
@@ -42,6 +42,8 @@
  * $Id: magic.h,v 1.5 2003/06/11 23:56:26 paulus Exp $
  */
 
+#include "pppd.h"
+
 void magic_init __P((void));	/* Initialize the magic number generator */
 u_int32_t magic __P((void));	/* Returns the next magic number */