]> git.ozlabs.org Git - ppp.git/commitdiff
pppd: Fix compilation with uclibc
authorPaul Mackerras <paulus@ozlabs.org>
Wed, 30 Dec 2020 01:04:11 +0000 (12:04 +1100)
committerPaul Mackerras <paulus@ozlabs.org>
Wed, 30 Dec 2020 01:06:35 +0000 (12:06 +1100)
<stdarg.h> is needed in pppd.h to define va_list.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
pppd/pppd.h

index 6cdffe80cd2ddbbe62b956750ab1a487847bb8fa..b5f3ad2a5d5f725943606b6b8ff47969ef15e0d5 100644 (file)
@@ -52,6 +52,7 @@
 #include <stdio.h>             /* for FILE */
 #include <stdlib.h>            /* for encrypt */
 #include <unistd.h>            /* for setkey */
+#include <stdarg.h>
 #include <limits.h>            /* for NGROUPS_MAX */
 #include <sys/param.h>         /* for MAXPATHLEN and BSD4_4, if defined */
 #include <sys/types.h>         /* for u_int32_t, if defined */