• Helge Deller's avatar
    parisc: Fix order of EREFUSED define in errno.h · a0d020d2
    Helge Deller authored
    [ Upstream commit 3eb53b20 ]
    
    When building gccgo in userspace, errno.h gets parsed and the go include file
    sysinfo.go is generated.
    
    Since EREFUSED is defined to the same value as ECONNREFUSED, and ECONNREFUSED
    is defined later on in errno.h, this leads to go complaining that EREFUSED
    isn't defined yet.
    
    Fix this trivial problem by moving the define of EREFUSED down after
    ECONNREFUSED in errno.h (and clean up the indenting while touching this line).
    Signed-off-by: default avatarHelge Deller <deller@gmx.de>
    Cc: stable@vger.kernel.org
    Signed-off-by: default avatarSasha Levin <alexander.levin@verizon.com>
    a0d020d2
errno.h 5.63 KB