diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-11-29 16:51:05 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-11-29 18:05:11 -0700 |
| commit | 19eaf54bc9ea8229dd0ae9e8e99865aba6fe4398 (patch) | |
| tree | 4c880f4cef886512213513b170024e51c145e866 /lib/libc/include/any-linux-any/linux/ppdev.h | |
| parent | ec10e63f4945e81cfc5369a2c886ef0b7ae11c1b (diff) | |
| download | zig-19eaf54bc9ea8229dd0ae9e8e99865aba6fe4398.tar.gz zig-19eaf54bc9ea8229dd0ae9e8e99865aba6fe4398.zip | |
update libc linux headers to v5.16-rc3
* Add missing Linux headers. Closes #9837
* Update existing headers to latest Linux.
* Consolidate headers that are the same for multiple Zig target CPU
architectures. For example, Linux has only an x86 directory for both
x86_64 and x86 CPU architectures. Now Zig only ships an x86 directory
for Linux headers, and will emit the proper corresponding -isystem
flags.
* tools/update-linux-headers.zig is now available for upgrading to
newer Linux headers, and the update process is now documented on the
wiki.
Diffstat (limited to 'lib/libc/include/any-linux-any/linux/ppdev.h')
| -rw-r--r-- | lib/libc/include/any-linux-any/linux/ppdev.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/include/any-linux-any/linux/ppdev.h b/lib/libc/include/any-linux-any/linux/ppdev.h index 3ce206ab18..7c7cd372d1 100644 --- a/lib/libc/include/any-linux-any/linux/ppdev.h +++ b/lib/libc/include/any-linux-any/linux/ppdev.h @@ -15,6 +15,9 @@ * Added PPGETMODES/PPGETMODE/PPGETPHASE, Fred Barnes <frmb2@ukc.ac.uk>, 03/01/2001 */ +#ifndef _LINUX_PPDEV_H +#define _LINUX_PPDEV_H + #define PP_IOCTL 'p' /* Set mode for read/write (e.g. IEEE1284_MODE_EPP) */ @@ -95,4 +98,6 @@ struct ppdev_frob_struct { #define PP_W91284PIC (1<<4) /* only masks user-visible flags */ -#define PP_FLAGMASK (PP_FASTWRITE | PP_FASTREAD | PP_W91284PIC)
\ No newline at end of file +#define PP_FLAGMASK (PP_FASTWRITE | PP_FASTREAD | PP_W91284PIC) + +#endif /* _LINUX_PPDEV_H */
\ No newline at end of file |
