Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1439971

Missing include file in include/uapi/linux/errqueue.h?

From Brooks Moses <bmoses@google.com>
Newsgroups linux.kernel
Subject Missing include file in include/uapi/linux/errqueue.h?
Date 2016-07-09 19:40 +0200
Message-ID <rT4op-5Za-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hello!

I've been attempting to qualify the Linux 4.5.2 user-space headers for
a toolchain release, and ran into what looks like a missing include
file in include/uapi/linux/errqueue.h.  In particular,
https://github.com/torvalds/linux/commit/f24b9be5957b38bb420b838115040dc2031b7d0c
adds the following to this file:

+struct scm_timestamping {
+ struct timespec ts[3];
+};

However, struct timespec is defined in time.h, which isn't included
either in 4.5.2 or in current head.  Is this simply a missing #include
line, or am I misunderstanding something?

I also note that this is the second user-space header in the Linux
4.5.2 release we've run into that simply fails to compile when
included by itself.  Is there not a test target that tests for this?
Would it be welcome if I were to work on adding one?

Thanks,
- Brooks

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Missing include file in include/uapi/linux/errqueue.h? Brooks Moses <bmoses@google.com> - 2016-07-09 19:40 +0200
  Re: Missing include file in include/uapi/linux/errqueue.h? Brooks Moses <bmoses@google.com> - 2016-07-10 07:50 +0200
    Re: Missing include file in include/uapi/linux/errqueue.h? Willem de Bruijn <willemb@google.com> - 2016-07-10 16:00 +0200
      Re: Missing include file in include/uapi/linux/errqueue.h? Willem de Bruijn <willemdebruijn.kernel@gmail.com> - 2016-07-10 17:30 +0200

csiph-web