make it compile, some #includes were wrong/missing (only compiled, no

further tests done, since it's a library with no test executables)
This commit is contained in:
wiz 2000-01-11 01:24:01 +00:00
parent d1cf793d7d
commit 633dc9fe67
3 changed files with 30 additions and 1 deletions

View file

@ -1,3 +1,5 @@
$NetBSD: patch-sum,v 1.1.1.1 2000/01/05 15:24:51 agc Exp $
$NetBSD: patch-sum,v 1.2 2000/01/11 01:24:01 wiz Exp $
MD5 (patch-aa) = 41957c77b9577b331749275ff684ecb2
MD5 (patch-ab) = b3445559b02a28bf43882aad4f25f391
MD5 (patch-ac) = d86e78a341ed18f946bfa7fdcdde8ff8

View file

@ -0,0 +1,15 @@
$NetBSD: patch-ab,v 1.1 2000/01/11 01:24:03 wiz Exp $
--- ../../old/libirc-0.2/src/irc_core.h Wed Jan 5 12:20:56 2000
+++ src/irc_core.h Tue Jan 11 02:04:54 2000
@@ -20,7 +20,9 @@
#define __IRC_CORE_H__
#include <glib.h>
-#include <sys/select.h>
+#include <sys/types.h>
+#include <sys/time.h>
+#include <unistd.h>
#include <btypes.h>
/* Macros and constants */

View file

@ -0,0 +1,12 @@
$NetBSD: patch-ac,v 1.1 2000/01/11 01:24:03 wiz Exp $
--- ../../old/libirc-0.2/src/tcp.c Sun Jan 2 17:02:43 2000
+++ src/tcp.c Tue Jan 11 02:05:58 2000
@@ -16,6 +16,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>