pkgsrc/sysutils/fam/patches/patch-ba
tnn 60578adc48 #include <stdio.h> earlier so NULL gets defined before use
#include <iostream> instead of <iostream.h> (deprecated)
Fixes build on modern Linux.
2009-07-19 18:14:59 +00:00

21 lines
457 B
Text

$NetBSD: patch-ba,v 1.2 2009/07/19 18:14:59 tnn Exp $
--- lib/Client.c++.orig 2003-01-18 15:18:12.000000000 +0100
+++ lib/Client.c++
@@ -24,6 +24,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <netinet/in.h>
+#include <arpa/inet.h>
#include <sys/un.h>
#include <sys/socket.h>
#include <rpc/rpc.h>
@@ -34,7 +35,7 @@
#include <syslog.h>
#include <errno.h>
-#include <iostream.h>
+#include <iostream>
#include "fam.h"
#include "Client.h"