Description of problem: Error compiling libaio-0.3.96 on s390 (see "Actual results" below). The problem is that src/io_queue_wait.c is including <linux/types.h> which is a system header file. src/io_queue_wait.c should instead include <sys/types.h>. Also, while that fixes the compilation error, should src/libaio.h also be changed to include <sys/types.h> instead of <asm/types.h> ? Version-Release number of selected component (if applicable): libaio-0.3.96 How reproducible: Compile libaio on s390. Steps to Reproduce: 1. As above 2. 3. Actual results: <wjyoung@lyta> make make[1]: Entering directory `/tmp/libaio-0.3.96/src' cc -nostdlib -nostartfiles -Wall -I. -g -fomit-frame-pointer -O2 -fPIC -c -o io_queue_init.ol io_queue_init.c cc -nostdlib -nostartfiles -Wall -I. -g -fomit-frame-pointer -O2 -fPIC -c -o io_queue_release.ol io_queue_release.c cc -nostdlib -nostartfiles -Wall -I. -g -fomit-frame-pointer -O2 -fPIC -c -o io_queue_wait.ol io_queue_wait.c In file included from /usr/include/asm/posix_types.h:59, from /usr/include/linux/posix_types.h:46, from /usr/include/linux/types.h:4, from io_queue_wait.c:20: /usr/include/asm/bitops.h:41: #error "bitops won't work without CONFIG_SMP" make[1]: *** [io_queue_wait.ol] Error 1 make[1]: Leaving directory `/tmp/libaio-0.3.96/src' make: *** [all] Error 2 Expected results: libaio should compile cleanly. Additional info:
*** This bug has been marked as a duplicate of 114335 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.