summaryrefslogtreecommitdiff
path: root/src/syscall.h
diff options
context:
space:
mode:
authorJeff Moyer <jmoyer@redhat.com>2011-04-19 14:57:26 -0400
committerJeff Moyer <jmoyer@redhat.com>2011-04-19 14:57:26 -0400
commit7fab3fecaa1e570eef7c7c85b584b8babcc4a51d (patch)
tree2e6b604bdd8709a56951d331472be58ce8469450 /src/syscall.h
parentf997fa1a2f8d2673139b8e6317d27a435075df39 (diff)
downloadlibaio-7fab3fecaa1e570eef7c7c85b584b8babcc4a51d.tar.gz
add sparc support
This patch came from the sparc linux port originally, modified by me to fix the return codes from the system calls. This has not yet been tested, but the fedora sparc port should be able to get me the results from make check. Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Diffstat (limited to 'src/syscall.h')
-rw-r--r--src/syscall.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/syscall.h b/src/syscall.h
index 78becfe..62879a5 100644
--- a/src/syscall.h
+++ b/src/syscall.h
@@ -24,6 +24,8 @@
#include "syscall-alpha.h"
#elif defined(__arm__)
#include "syscall-arm.h"
+#elif defined(__sparc__)
+#include "syscall-sparc.h"
#else
#error "add syscall-arch.h"
#endif