gcc3 wants assert defined.

This commit is contained in:
espie 2004-01-02 22:26:35 +00:00
parent e502100c7e
commit b0bf7e4582
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-mutella_gnudownload_cpp,v 1.1 2004/01/02 22:26:35 espie Exp $
--- mutella/gnudownload.cpp.orig 2004-01-02 23:21:02.000000000 +0100
+++ mutella/gnudownload.cpp 2004-01-02 23:21:10.000000000 +0100
@@ -47,6 +47,7 @@
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <fcntl.h>
+#include <assert.h>
#define MAX_DOWNLOADERS 16

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-mutella_gnushare_cpp,v 1.1 2004/01/02 22:26:35 espie Exp $
--- mutella/gnushare.cpp.orig 2004-01-02 23:20:36.000000000 +0100
+++ mutella/gnushare.cpp 2004-01-02 23:20:45.000000000 +0100
@@ -50,6 +50,7 @@
#include <unistd.h>
#include <dirent.h>
#include <ctype.h>
+#include <assert.h>
#define SHARE_QUEUE_MAX 100