From be9c514f84ed45872f8ed89046dc600a1408eb1c Mon Sep 17 00:00:00 2001 From: Mikio Hara Date: Sat, 15 Feb 2014 00:47:28 +0900 Subject: [PATCH] syscall: make use of include/linux when generating system constants On Linux include/net directory is just to help porting applications from BSDs and files under net keep less information than include/linux. Making use of files under include/linux instead of include/net prevents lack of information. LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/63930043 --- src/pkg/syscall/mkerrors.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pkg/syscall/mkerrors.sh b/src/pkg/syscall/mkerrors.sh index 498e42de42..9a2988a072 100755 --- a/src/pkg/syscall/mkerrors.sh +++ b/src/pkg/syscall/mkerrors.sh @@ -92,9 +92,12 @@ includes_Linux=' #include #include #include -#include +#include +#include #include #include +#include +#include #include #include #include @@ -103,10 +106,7 @@ includes_Linux=' #include #include #include -#include -#include #include -#include #include #ifndef MSG_FASTOPEN -- 2.48.1