patch-utils_c 599 B

12345678910111213141516171819202122232425
  1. $OpenBSD: patch-utils_c,v 1.2 2010/05/17 16:52:05 robert Exp $
  2. --- utils.c.orig Sat May 12 12:13:11 2007
  3. +++ utils.c Mon May 17 18:50:46 2010
  4. @@ -26,10 +26,10 @@
  5. #include <stdio.h>
  6. #include <stdlib.h>
  7. #include <unistd.h>
  8. -#include <linux/types.h>
  9. +#include <sys/types.h>
  10. #include <string.h>
  11. #include <fcntl.h>
  12. -#include <wait.h>
  13. +#include <sys/wait.h>
  14. #include <time.h>
  15. #include <limits.h>
  16. #include "huffman.h"
  17. @@ -235,7 +235,6 @@ static int readtables(int till, int *isDHT)
  18. break;
  19. case M_DRI:
  20. - printf("find DRI \n");
  21. l = getword();
  22. info.dri = getword();
  23. break;