generic: add renameat2 system call number for i386
[xfstests-dev.git] / src / renameat2.c
index 514595979b9ca1c8d009c2d6ae175a58ca1e56b4..2980f14fa54aca67ead762d245e5f3297f07bb72 100644 (file)
 #define SYS_renameat2 316
 #endif
 
+#if !defined(SYS_renameat2) && defined(__i386__)
+#define SYS_renameat2 353
+#endif
+
+#if !defined(SYS_renameat2) && defined(__i386__)
+#define SYS_renameat2 353
+#endif
+
 static int renameat2(int dfd1, const char *path1,
                     int dfd2, const char *path2,
                     unsigned int flags)