xdm-1.1.11-arc4random-include.patch 360 B

12345678910111213141516171819
  1. diff -ur a/xdm/genauth.c b/xdm/genauth.c
  2. --- a/xdm/genauth.c 2011-09-25 09:35:47.000000000 +0200
  3. +++ b/xdm/genauth.c 2014-01-06 16:28:09.664060603 +0100
  4. @@ -40,6 +40,14 @@
  5. #include <errno.h>
  6. +#ifdef HAVE_ARC4RANDOM
  7. +# ifdef __linux__
  8. +# include <bsd/stdlib.h>
  9. +# else
  10. +# include <stdlib.h>
  11. +# endif
  12. +#endif
  13. +
  14. #include <time.h>
  15. #define Time_t time_t