I tried adding nanosleep to the modules, and updated, and then tried to use nanosleep from gnutls.c. But it doesn't build (on Debian/bookworm):
/usr/bin/ld: gnutls.o: in function `gnutls_try_handshake': /home/larsi/src/emacs/trunk/src/gnutls.c:634: undefined reference to `rpl_nanosleep' collect2: error: ld returned 1 exit status I tried poking at lib/time.h, but I just don't understand how this all hooks up: # if 1 # if 1 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define nanosleep rpl_nanosleep with nanosleep.c... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
