Re: more on devstat (missing include)



Pietro Cerutti wrote:
John Baldwin wrote:
I think this might be best:

Index: devstat.h
===================================================================
RCS file: /usr/cvs/src/lib/libdevstat/devstat.h,v
retrieving revision 1.11
diff -u -r1.11 devstat.h
--- devstat.h 22 Jul 2005 17:19:00 -0000 1.11
+++ devstat.h 31 Jan 2008 10:52:37 -0000
@@ -32,6 +32,7 @@
#define _DEVSTAT_H
#include <sys/cdefs.h>
#include <sys/devicestat.h>
+#include <sys/resource.h>

#include <kvm.h>



Good. Are you committing that or I better send in a PR?


;-) figured out myself.. Thanks!


--
Pietro Cerutti

PGP Public Key:
http://gahr.ch/pgp

Attachment: signature.asc
Description: OpenPGP digital signature



Relevant Pages

  • Re: more on devstat (missing include)
    ... On Thursday 31 January 2008 10:20:42 am Pietro Cerutti wrote: ... diff -u -r1.11 devstat.h ... Are you committing that or I better send in a PR? ... John Baldwin ...
    (freebsd-hackers)
  • Re: more on devstat (missing include)
    ... On Wednesday 30 January 2008 06:09:21 pm Pietro Cerutti wrote: ... retrieving revision 1.11 ... diff -u -r1.11 devstat.h ... John Baldwin ...
    (freebsd-hackers)