diff options
-rwxr-xr-x | configure | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -3603,7 +3603,11 @@ echocheck "swab()" cat > $TMPC << EOF #define _XOPEN_SOURCE 600 #include <unistd.h> -int main(void) { swab(NULL, NULL, 0); return 0; } +int main(void) { + int a = 0, b = 0; + swab(&a, &b, 0); + return 0; +} EOF _swab=no cc_check && _swab=yes |