make rule for user header file install
[lunaix-os.git] / lunaix-os / usr / libc / src / posix / dirent.c
index 6651d5e84c2868bd987ebb708ca2493ce8c3613f..c9e16362cf225c8722fba5b35f6d36afea75c08c 100644 (file)
@@ -1,8 +1,8 @@
-#include <lunaix/syscall.h>
+#include <syscall.h>
 #include <lunaix/dirent_defs.h>
 
 int
 sys_readdir(int fd, struct lx_dirent* dirent)
 {
-    return do_lunaix_syscall(__SYSCALL_sys_readdir, fd, dirent);
+    return do_lunaix_syscall(__NR__lxsys_sys_readdir, fd, dirent);
 }
\ No newline at end of file