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 stdlib.h. Add int return type for main(). --- ../tests/readlink.c.orig 2026-07-21 20:53:52.444069676 +0000 +++ ../tests/readlink.c @@@@ -7,10 +7,12 @@@@ #include #include #include +#include #define DATA "readlink.test" #define FNAME "rdlnk.file" +int main() { char buf[7]; @