diff options
Diffstat (limited to 'include/sys')
| -rw-r--r-- | include/sys/select.h | 2 | ||||
| -rw-r--r-- | include/sys/socket.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/sys/select.h b/include/sys/select.h index e4e398f..bcee8be 100644 --- a/include/sys/select.h +++ b/include/sys/select.h | |||
| @@ -16,7 +16,9 @@ | |||
| 16 | #ifndef _FORTIFY_SYS_SELECT_H | 16 | #ifndef _FORTIFY_SYS_SELECT_H |
| 17 | #define _FORTIFY_SYS_SELECT_H | 17 | #define _FORTIFY_SYS_SELECT_H |
| 18 | 18 | ||
| 19 | #ifndef __cplusplus | ||
| 19 | __extension__ | 20 | __extension__ |
| 21 | #endif | ||
| 20 | #include_next <sys/select.h> | 22 | #include_next <sys/select.h> |
| 21 | 23 | ||
| 22 | #if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 | 24 | #if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 |
diff --git a/include/sys/socket.h b/include/sys/socket.h index 7d3f023..ad6ab2d 100644 --- a/include/sys/socket.h +++ b/include/sys/socket.h | |||
| @@ -16,7 +16,9 @@ | |||
| 16 | #ifndef _FORTIFY_SYS_SOCKET_H | 16 | #ifndef _FORTIFY_SYS_SOCKET_H |
| 17 | #define _FORTIFY_SYS_SOCKET_H | 17 | #define _FORTIFY_SYS_SOCKET_H |
| 18 | 18 | ||
| 19 | #ifndef __cplusplus | ||
| 19 | __extension__ | 20 | __extension__ |
| 21 | #endif | ||
| 20 | #include_next <sys/socket.h> | 22 | #include_next <sys/socket.h> |
| 21 | 23 | ||
| 22 | #if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 | 24 | #if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 |
