Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1587690
| From | Alexey Dobriyan <adobriyan@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: + uapi-fix-linux-sysctlh-userspace-compilation-errors.patch added to -mm tree |
| Date | 2017-02-24 15:40 +0100 |
| Message-ID | <tepcl-1uK-3@gated-at.bofh.it> (permalink) |
| References | <tepcl-1uK-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Feb 23, 2017 at 02:44:31PM -0800, akpm@linux-foundation.org wrote: > /usr/include/linux/sysctl.h:38:2: error: unknown type name 'size_t' > size_t *oldlenp; > /usr/include/linux/sysctl.h:40:2: error: unknown type name 'size_t' > size_t newlen; > --- a/include/uapi/linux/sysctl.h~uapi-fix-linux-sysctlh-userspace-compilation-errors > +++ a/include/uapi/linux/sysctl.h > @@ -26,6 +26,10 @@ > #include <linux/types.h> > #include <linux/compiler.h> > > +#ifndef __KERNEL__ > +#include <stddef.h> /* For size_t. */ > +#endif There is __kernel_size_t for cases like this.
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: + uapi-fix-linux-sysctlh-userspace-compilation-errors.patch added to -mm tree Alexey Dobriyan <adobriyan@gmail.com> - 2017-02-24 15:40 +0100
Re: + uapi-fix-linux-sysctlh-userspace-compilation-errors.patch added to -mm tree "Dmitry V. Levin" <ldv@altlinux.org> - 2017-02-24 23:40 +0100
Re: + uapi-fix-linux-sysctlh-userspace-compilation-errors.patch added to -mm tree Alexey Dobriyan <adobriyan@gmail.com> - 2017-02-27 10:50 +0100
Re: + uapi-fix-linux-sysctlh-userspace-compilation-errors.patch added to -mm tree "Dmitry V. Levin" <ldv@altlinux.org> - 2017-02-27 11:20 +0100
Re: + uapi-fix-linux-sysctlh-userspace-compilation-errors.patch added to -mm tree "Dmitry V. Levin" <ldv@altlinux.org> - 2017-02-27 20:50 +0100
csiph-web