diff options
| author | Davide Caratti <dcaratti@redhat.com> | 2018-12-17 11:26:38 +0100 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-12-18 15:59:29 -0800 |
| commit | e2c4cf7f98a519eb4d95532bfa06bcaf3562fed5 (patch) | |
| tree | efba0fbe01a47a876bea44cd0b63d831a7869aa4 /scripts/gdb/linux/utils.py | |
| parent | 4298388574dae6168fa8940b3edc7ba965e8a7ab (diff) | |
net: Use __kernel_clockid_t in uapi net_stamp.h
Herton reports the following error when building a userspace program that
includes net_stamp.h:
In file included from foo.c:2:
/usr/include/linux/net_tstamp.h:158:2: error: unknown type name
‘clockid_t’
clockid_t clockid; /* reference clockid */
^~~~~~~~~
Fix it by using __kernel_clockid_t in place of clockid_t.
Fixes: 80b14dee2bea ("net: Add a new socket option for a future transmit time.")
Cc: Timothy Redaelli <tredaelli@redhat.com>
Reported-by: Herton R. Krzesinski <herton@redhat.com>
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Tested-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
