ape: add missing idn2utf, utf2idn to lib9

this fixes the libsec build under ape.
This commit is contained in:
Ori Bernstein 2021-10-31 04:42:34 +00:00
parent aebf92224f
commit 7b4e3be27e
2 changed files with 7 additions and 0 deletions

View file

@ -180,6 +180,9 @@ extern int enc32chr(int);
extern int dec16chr(int);
extern int enc16chr(int);
extern int idn2utf(char *, char *, int);
extern int utf2idn(char *, char *, int);
extern int tokenize(char*, char**, int);
extern int getfields(char*, char**, int, int, char*);
extern int gettokens(char*, char**, int, char*);

View file

@ -12,6 +12,7 @@ OFILES=\
getcallerpc.$O\
getfcr.$O\
getfields.$O\
idn.$O\
mount.$O\
rendezvous.$O\
rfork.$O\
@ -66,3 +67,6 @@ u32.$O: ../../../libc/port/u32.c
u64.$O: ../../../libc/port/u64.c
$CC $CFLAGS -I. ../../../libc/port/u64.c
idn.$O: ../../../libc/9sys/idn.c
$CC $CFLAGS -I. ../../../libc/9sys/idn.c