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.

33 lines
704 B

  1. --- /dev/null
  2. +++ b/include/net/ppp_defs.h
  3. @@ -0,0 +1,10 @@
  4. +#ifndef _NET_PPP_DEFS_H
  5. +#define _NET_PPP_DEFS_H 1
  6. +
  7. +#define __need_time_t
  8. +#include <time.h>
  9. +
  10. +#include <asm/types.h>
  11. +#include <linux/ppp_defs.h>
  12. +
  13. +#endif /* net/ppp_defs.h */
  14. --- a/src/libsstp-log/sstp-log-syslog.c
  15. +++ b/src/libsstp-log/sstp-log-syslog.c
  16. @@ -32,6 +32,7 @@
  17. #include <sys/uio.h>
  18. #include <sys/un.h>
  19. #include <sys/socket.h>
  20. +#include <sys/types.h>
  21. #include <unistd.h>
  22. #include <sstp-common.h>
  23. --- a/src/libsstp-log/sstp-log-std.c
  24. +++ b/src/libsstp-log/sstp-log-std.c
  25. @@ -25,6 +25,7 @@
  26. #include <stdio.h>
  27. #include <stdint.h>
  28. #include <string.h>
  29. +#include <sys/types.h>
  30. #include <sys/uio.h>
  31. #include <unistd.h>