]> granicus.if.org Git - strace/commitdiff
maint: update for linux 4.20
authorGleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
Wed, 26 Dec 2018 16:56:18 +0000 (19:56 +0300)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 26 Dec 2018 18:25:10 +0000 (18:25 +0000)
* maint/ioctls_sym.sh: Include linux/compiler_attributes.h in every
processed file.
Use asm/ioctls.h workaround for asm-generic/ioctls.h too.

maint/ioctls_sym.sh

index 77fc0e234f6d23f06718ae26d5d8f5b23212cd7a..af4c902117e4a92ba8288dda13732f8882167e8b 100755 (executable)
@@ -104,6 +104,7 @@ process_file()
 
        # Common code for every processed file.
        cat > "$tmpdir"/printents.c <<__EOF__
+#include <linux/compiler_attributes.h>
 #include <asm/termbits.h>
 #include <asm/ioctl.h>
 #include <linux/types.h>
@@ -164,7 +165,7 @@ __EOF__
                *asm/core_*.h)
                        return 0 # false positives
                        ;;
-               *asm/ioctls.h)
+               *asm*/ioctls.h)
                        cat <<'__EOF__'
 #include <asm/termios.h>
 #include <linux/serial.h>