From: Daniel Wagner Date: Wed, 17 Jan 2018 23:42:50 +0100 Subject: [PATCH] tethering: Reorder header includes Avoid compile errors due to unsupported header include order with newer kernels (>=4.15). We should import the libc header files first and then the Linux header files in user space applications. Reported by Neil MacLeod . Fix probosal by Jonas Bonn and Hauke Mehrtens . --- src/tethering.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tethering.c b/src/tethering.c index c929ba71a6dd..4b202369106f 100644 --- a/src/tethering.c +++ b/src/tethering.c @@ -31,11 +31,11 @@ #include #include #include -#include #include #include -#include #include +#include +#include #include #include "connman.h"