linamh/app-misc/irtrans-irserver/files/irtrans-irserver-5.9.01-missing-include.diff
geos_one 657ab817f0 Update irtrans
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@161 6952d904-891a-0410-993b-d76249ca496b
2007-08-16 16:05:58 +00:00

37 lines
954 B
Diff

Joerg Bornkessel <hd_brummy@gentoo.org> 16 Aug 2007
diff -Naur linuxserio.c.orig linuxserio.c
--- linuxserio.c.orig 2007-08-16 12:24:22.000000000 +0200
+++ linuxserio.c 2007-08-16 12:24:49.000000000 +0200
@@ -13,6 +13,7 @@
#include <netinet/in.h>
#include <sys/un.h>
#include <arpa/inet.h>
+#include <stdlib.h>
#include "remote.h"
#include "errcode.h"
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;