diff options
author | Sergey A. Osokin <osa@FreeBSD.org> | 2003-10-28 14:53:44 +0000 |
---|---|---|
committer | Sergey A. Osokin <osa@FreeBSD.org> | 2003-10-28 14:53:44 +0000 |
commit | 1dba9f3c91d89af3716d8cd2368c250fd41d48ea (patch) | |
tree | 11f84e69c5fbfbfbcf09d89449ef5354c99b69f6 /sysutils/xosview/files/patch-xwin.h | |
parent | Fix build on -current. (diff) |
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
Notes
Notes:
svn path=/head/; revision=92452
Diffstat (limited to '')
-rw-r--r-- | sysutils/xosview/files/patch-xwin.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sysutils/xosview/files/patch-xwin.h b/sysutils/xosview/files/patch-xwin.h new file mode 100644 index 000000000000..bcec4c6f874f --- /dev/null +++ b/sysutils/xosview/files/patch-xwin.h @@ -0,0 +1,10 @@ +--- 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$" + |