sys/syscall.h exist at all os'es instead of <syscall.h> which exist only
at linux.
b=14929
i=nikita
#endif
#include <errno.h>
#include <assert.h>
-#include <syscall.h>
+#include <sys/syscall.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <errno.h>
#include <assert.h>
-#include <syscall.h>
+#include <sys/syscall.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/fcntl.h>
#include <unistd.h>
#include <errno.h>
#include <assert.h>
-#include <syscall.h>
+#include <sys/syscall.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/fcntl.h>
#include "sysio-symbols.h"
#ifdef HAVE_LUSTRE_HACK
-#include <syscall.h>
+#include <sys/syscall.h>
#include <native.h>
#endif
#endif /* !HAVE_LINUX_VERSION_H */
#ifndef __CYGWIN__
-# include <syscall.h>
+# include <sys/syscall.h>
#else /* __CYGWIN__ */
# include <windows.h>
# include <windef.h>
#include <sys/sockio.h>
#endif
#ifndef __CYGWIN__
-#include <syscall.h>
+#include <sys/syscall.h>
#endif
#include <libcfs/libcfs.h>
#include "usocklnd.h"
#include <unistd.h>
-#include <syscall.h>
+#include <sys/syscall.h>
int
usocklnd_notifier_handler(int fd)
#include "usocklnd.h"
#include <unistd.h>
-#include <syscall.h>
+#include <sys/syscall.h>
void
usocklnd_process_stale_list(usock_pollthread_t *pt_data)
# define LPSZ "%u"
# define LPSSZ "%d"
#elif (_LWORDSIZE == 64)
-# define LPU64 "%lu"
-# define LPD64 "%ld"
-# define LPX64 "%#lx"
-# define LPSZ "%lu"
-# define LPSSZ "%ld"
+# define LPU64 "%llu"
+# define LPD64 "%lld"
+# define LPX64 "%#llx"
+# define LPSZ "%llu"
+# define LPSSZ "%lld"
#endif
#undef _LWORDSIZE
#ifdef _AIX
#include "syscall_AIX.h"
#else
-#include <syscall.h>
+#include <sys/syscall.h>
#endif
#include <sys/utsname.h>
#ifdef HAVE_NETINET_IN_H