freebsd-ports/sysutils/xosview/files/patch-xwin.h
Sergey A. Osokin 1dba9f3c91 Fix build on -CURRENT.
Also:
- replace <xxx> with <xxx.h> due to Standard C++.
- In my observation, when include "devstats.h",
- In 4.x or earlier version, we use checkversion(), getnumdevs() ...
  But In 5.x, it should be repalce with devstat_checkversion(kvm_t *),
  devstat_getnumdevs(kvm_t *) respectively.
  In summary, function in 4.x's devstats.h can add prefix word "devstat

Submitted by:		Cheng-Lung Sung <clsung@dragon2.net>
Maintainership to:	submitter
PR:			58596
2003-10-28 14:53:44 +00:00

10 lines
202 B
C

--- xwin.h.orig Mon Feb 25 03:52:00 2002
+++ xwin.h Mon Oct 27 21:13:29 2003
@@ -11,6 +11,7 @@
#endif
#include <iostream.h>
#include <string.h>
+using namespace std;
#define XWIN_H_CVSID "$Id$"