summaryrefslogtreecommitdiff
path: root/include/poll.h
diff options
context:
space:
mode:
authorDaniel Kolesa2022-11-01 20:14:54 +0100
committerjvoisin2023-06-25 18:13:11 +0200
commitadae76af26e498af6c3004a52a4b1de2c6fd91c3 (patch)
treea5ce85d93449234065eb8bf891030dd219e92ed1 /include/poll.h
parent5827cef597d2b9b87b950c9b50023d11b1363c04 (diff)
avoid __extension__ with clang
It seems useless and triggers 'error: expected external declaration'
Diffstat (limited to 'include/poll.h')
-rw-r--r--include/poll.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/poll.h b/include/poll.h
index 0500ab4..e89b4e7 100644
--- a/include/poll.h
+++ b/include/poll.h
@@ -16,7 +16,7 @@
16#ifndef _FORTIFY_POLL_H 16#ifndef _FORTIFY_POLL_H
17#define _FORTIFY_POLL_H 17#define _FORTIFY_POLL_H
18 18
19#ifndef __cplusplus 19#if !defined(__cplusplus) && !defined(__clang__)
20__extension__ 20__extension__
21#endif 21#endif
22#include_next <poll.h> 22#include_next <poll.h>