#endif
#include <sys/uio.h>
#include <sys/queue.h>
+#include <getopt.h>
+#if defined(SYSIO_LABEL_NAMES)
+#include "sysio.h"
+#endif
#include "xtio.h"
#include "test.h"
old = argv[optind++];
new = argv[optind++];
- if ((err = link(old, new)) != 0) {
+ if ((err = SYSIO_INTERFACE_NAME(link)(old, new)) != 0) {
perror("link");
break;
}
- if ((err = lstat(new, &stbuf)) != 0) {
+ if ((err = SYSIO_INTERFACE_NAME(lstat)(new, &stbuf)) != 0) {
perror(new);
break;
}