openbsd-ports/graphics/luvcview/patches/patch-utils_c

25 lines
599 B
Plaintext
Raw Normal View History

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