Skip to content
Commit 877d53c2 authored by Shuah Khan's avatar Shuah Khan
Browse files

selftests: timestamping: Fix SIOCGSTAMP undeclared build failure



Add missing linux/sockios.h include to fix the following SIOCGSTAMP
undeclared build error. In addition, remove the local defines for
SIOCGSTAMPNS and SIOCSHWTSTAMP and pick them up from linux/sockios.h.

timestamping.c:249:19: error: SIOCGSTAMP undeclared
   if (ioctl(sock, SIOCGSTAMP, &tv))

Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent 88fe057d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment