pkgsrc/comms/plp/patches/patch-ap
wiz cbbd0ce5d3 Fix build with gcc-4.5.
Mark as not MAKE_JOBS_SAFE (doesn't wait for library to be built before
linking it).
2011-12-19 13:44:07 +00:00

23 lines
479 B
Text

$NetBSD: patch-ap,v 1.2 2011/12/19 13:44:07 wiz Exp $
--- ncp/packet.cc.orig 1999-04-12 21:16:58.000000000 +0000
+++ ncp/packet.cc
@@ -21,13 +21,15 @@
#include <stdio.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <unistd.h>
#include <sys/time.h>
#include <sys/types.h>
#include <string.h>
-#include <fstream.h>
-#include <iomanip.h>
+#include <fstream>
+#include <iomanip>
+#include <iostream>
+using namespace std;
#include "bool.h"
#include "mp_serial.h"