From: Mikio Hara Date: Fri, 14 Feb 2014 15:47:28 +0000 (+0900) Subject: syscall: make use of include/linux when generating system constants X-Git-Tag: go1.3beta1~696 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=be9c514f84ed45872f8ed89046dc600a1408eb1c;p=gostls13.git 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 --- 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