head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.07.21.21.17.40; author rjs; state Exp; branches; next ; commitid Fr9rwE9jOH1r8zOG; desc @@ 1.1 log @net/samba: Make it build on NetBSD-current. Fixes PR pkg/60070. @ text @$NetBSD$ Add int return type for main(). --- lib/util_sec.c.orig 2026-07-21 20:44:41.688810676 +0000 +++ lib/util_sec.c @@@@ -437,6 +437,7 @@@@ static int have_syscall(void) return 0; } +int main() { if (getuid() != 0) { @