linamh/app-misc/irtrans-irserver/files/irtrans-irserver-5.9.01-missing-include.diff
2007-08-16 13:42:11 +00:00

26 lines
676 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