| @@ -27,27 +27,29 @@ | | | @@ -27,27 +27,29 @@ |
27 | * Use is subject to license terms. | | 27 | * Use is subject to license terms. |
28 | */ | | 28 | */ |
29 | | | 29 | |
30 | #ifndef _SYS_STROPTS_H | | 30 | #ifndef _SYS_STROPTS_H |
31 | #define _SYS_STROPTS_H | | 31 | #define _SYS_STROPTS_H |
32 | | | 32 | |
33 | #pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 11.20 */ | | 33 | #pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 11.20 */ |
34 | | | 34 | |
35 | #include <sys/feature_tests.h> | | 35 | #include <sys/feature_tests.h> |
36 | #include <sys/types.h> | | 36 | #include <sys/types.h> |
37 | /* | | 37 | /* |
38 | * For FMNAMESZ define. | | 38 | * For FMNAMESZ define. |
39 | */ | | 39 | */ |
| | | 40 | #ifdef _KERNEL |
40 | #include <sys/conf.h> | | 41 | #include <sys/conf.h> |
| | | 42 | #endif |
41 | | | 43 | |
42 | #ifdef __cplusplus | | 44 | #ifdef __cplusplus |
43 | extern "C" { | | 45 | extern "C" { |
44 | #endif | | 46 | #endif |
45 | | | 47 | |
46 | /* | | 48 | /* |
47 | * Write options | | 49 | * Write options |
48 | */ | | 50 | */ |
49 | #define SNDZERO 0x001 /* send a zero length message */ | | 51 | #define SNDZERO 0x001 /* send a zero length message */ |
50 | #define SNDPIPE 0x002 /* send SIGPIPE on write and */ | | 52 | #define SNDPIPE 0x002 /* send SIGPIPE on write and */ |
51 | /* putmsg if sd_werror is set */ | | 53 | /* putmsg if sd_werror is set */ |
52 | | | 54 | |
53 | /* | | 55 | /* |