• Bruno Haible's avatar
    getopt: Fix link error for users of getopt() in <unistd.h>. · 571d60e6
    Bruno Haible authored
    * lib/getopt.in.h (getopt etc.): Do the macro definitions also when
    __need_getopt is defined. Undefine all macros before defining them.
    * modules/getopt (Include): Clarify that including <unistd.h> is also
    OK.
    * tests/test-getopt.c: Add comment.
    571d60e6