linamh/app-misc/irtrans-irclient/files/irtrans-irclient-5.9.01-missing-include.diff
2007-08-16 17:26:16 +00:00

25 lines
641 B
Diff

Joerg Bornkessel <hd_brummy@gentoo.org> 16 Aug 2007
diff -Naur client.c.orig client.c
--- client.c.orig 2007-08-16 15:34:20.000000000 +0200
+++ client.c 2007-08-16 15:34:53.000000000 +0200
@@ -14,6 +14,7 @@
#include <errno.h>
#include <netdb.h>
#include <signal.h>
+#include <stdlib.h>
typedef int SOCKET;
typedef void* WSAEVENT;
#define closesocket close
diff -Naur ip_assign.c.orig ip_assign.c
--- ip_assign.c.orig 2007-08-16 17:59:33.000000000 +0200
+++ ip_assign.c 2007-08-16 18:01:17.000000000 +0200
@@ -17,6 +17,7 @@
#include <stdio.h>
#include <net/if.h>
#include <sys/ioctl.h>
+#include <stdlib.h>
typedef int SOCKET;