summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/socketvar.h
diff options
context:
space:
mode:
authorScott Rotondo <Scott.Rotondo@Sun.COM>2009-05-21 22:03:24 -0700
committerScott Rotondo <Scott.Rotondo@Sun.COM>2009-05-21 22:03:24 -0700
commitd67944fbe3fa0b31893a7116a09b0718eecf6078 (patch)
tree89b9d2ec857c47e00acc2668cbdafa2edce45b14 /usr/src/uts/common/sys/socketvar.h
parent259105bc352a464b4cdf3f424b5575e5e5e3f247 (diff)
downloadillumos-joyent-d67944fbe3fa0b31893a7116a09b0718eecf6078.tar.gz
6795209 Enable compilation of ON-consolidation with GCC 4.2
6392640 rpcgen -h -T output does not compile with gcc 4.x --HG-- rename : usr/src/stand/lib/fs/nfs/pathname.h => usr/src/stand/lib/fs/nfs/st_pathname.h
Diffstat (limited to 'usr/src/uts/common/sys/socketvar.h')
-rw-r--r--usr/src/uts/common/sys/socketvar.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/uts/common/sys/socketvar.h b/usr/src/uts/common/sys/socketvar.h
index bb5fca2732..a43fae95aa 100644
--- a/usr/src/uts/common/sys/socketvar.h
+++ b/usr/src/uts/common/sys/socketvar.h
@@ -55,6 +55,10 @@
#include <sys/ksocket.h>
#include <sys/kstat.h>
+#ifdef _KERNEL
+#include <sys/vfs_opreg.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif