Whamcloud - gitweb
Land b_release_1_4_6 onto HEAD (20060223_1455)
[fs/lustre-release.git] / libsysio / tests / test_unlink.c
index d168b28..99f634b 100644 (file)
@@ -52,6 +52,9 @@
 #endif
 #include <sys/uio.h>
 
+#if defined(SYSIO_LABEL_NAMES)
+#include "sysio.h"
+#endif
 #include "xtio.h"
 #include "test.h"
 
@@ -141,7 +144,7 @@ static int
 unlinkit(const char *path)
 {
 
-       if (unlink(path) != 0) {
+       if (SYSIO_INTERFACE_NAME(unlink)(path) != 0) {
                perror(path);
                return -1;
        }