blob: ba83e52c3e351de8edfdc17a1e7e166637111a98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
$NetBSD: patch-aj,v 1.8 2010/01/29 18:19:09 adam Exp $
--- mkspecs/netbsd-g++/qplatformdefs.h.orig 2010-01-15 17:01:28.000000000 +0000
+++ mkspecs/netbsd-g++/qplatformdefs.h
@@ -65,6 +65,7 @@
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/ipc.h>
+#include <sys/param.h>
#include <sys/time.h>
#include <sys/shm.h>
#include <sys/socket.h>
@@ -127,10 +128,14 @@
#define QT_SNPRINTF ::snprintf
#define QT_VSNPRINTF ::vsnprintf
+#if (__NetBSD_Version__ >= 299000900)
+#include <sys/statvfs.h>
+#define QT_STATVFS 1
+#endif
+
// Older NetBSD versions may still use the a.out format instead of ELF.
#ifndef __ELF__
#define QT_AOUT_UNDERSCORE
#endif
-
#endif // QPLATFORMDEFS_H
|