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.

32 lines
841 B

  1. From 3232e537ccaba4417b25d9d70264e4a5533042da Mon Sep 17 00:00:00 2001
  2. From: Nicholas Marriott <nicholas.marriott@gmail.com>
  3. Date: Mon, 18 Mar 2019 13:04:00 +0000
  4. Subject: [PATCH] Fix bas64 declarations, from makepost at firemail dot cc.
  5. ---
  6. fdm.h | 5 ++---
  7. 1 file changed, 2 insertions(+), 3 deletions(-)
  8. diff --git a/fdm.h b/fdm.h
  9. index 41eaa37..511a7b1 100644
  10. --- a/fdm.h
  11. +++ b/fdm.h
  12. @@ -20,7 +20,6 @@
  13. #define FDM_H
  14. #include <sys/param.h>
  15. -#include <sys/cdefs.h>
  16. #include <sys/stat.h>
  17. #ifdef HAVE_QUEUE_H
  18. @@ -725,8 +724,8 @@ size_t strlcat(char *, const char *, size_t);
  19. #ifndef HAVE_B64_NTOP
  20. /* base64.c */
  21. -int b64_ntop(src, srclength, target, targsize);
  22. -int b64_pton(src, target, targsize);
  23. +int b64_ntop(u_char const *, size_t, char *, size_t);
  24. +int b64_pton(char const *, u_char *, size_t);
  25. #endif
  26. /* shm.c */