patch-xphoon_c 683 B

123456789101112131415161718192021222324
  1. $OpenBSD: patch-xphoon_c,v 1.5 2014/11/18 10:17:18 brad Exp $
  2. Don't use malloc.h header on OpenBSD.
  3. --- xphoon.c.orig Tue Jun 13 17:50:16 2000
  4. +++ xphoon.c Mon Nov 3 22:38:23 2014
  5. @@ -20,7 +20,6 @@ static char rcsid[] =
  6. #include "vroot.h"
  7. #include <stdio.h>
  8. #include <stdlib.h> /* added by David Frey */
  9. -#include <malloc.h> /* added by David Frey */
  10. #include <time.h> /* added by David Frey */
  11. #include <math.h>
  12. #include <limits.h> /* added by Lalo Martins */
  13. @@ -65,7 +64,7 @@ main( argc, argv )
  14. int blackflag, demoflag, southflag;
  15. int printpid;
  16. char* display_name;
  17. - long clock;
  18. + time_t clock;
  19. int pid, tty;
  20. int size;
  21. char* mooncopy;