BUILD: enable build on Linux/s390x

I would like to contribute the following fix to enable the Linux s390x
platform. The fix was built against today's git master. I've attached the
patch for review. Depending on your buildbot/jenkins/? requirements I can
set up a virtual machine for automated building/testing of the package in
this environment.
This commit is contained in:
Neale Ferguson 2015-10-12 20:58:51 +02:00 committed by Willy Tarreau
parent e32d1867f6
commit 5e98e3e998

View File

@ -104,6 +104,10 @@
#define __NR_epoll_create 254 #define __NR_epoll_create 254
#define __NR_epoll_ctl 255 #define __NR_epoll_ctl 255
#define __NR_epoll_wait 256 #define __NR_epoll_wait 256
#elif defined (__s390__) || defined(__s390x__)
#define __NR_epoll_create 249
#define __NR_epoll_ctl 250
#define __NR_epoll_wait 251
#endif /* $arch */ #endif /* $arch */
#endif /* __NR_epoll_ctl */ #endif /* __NR_epoll_ctl */
@ -121,6 +125,8 @@
#define __NR_splice 468 #define __NR_splice 468
#elif defined (__i386__) #elif defined (__i386__)
#define __NR_splice 313 #define __NR_splice 313
#elif defined(__s390__) || defined(__s390x__)
#define __NR_splace 306
#endif /* $arch */ #endif /* $arch */
#endif /* __NR_splice */ #endif /* __NR_splice */