extern int h_errno; int *__h_errno_location() { return &h_errno; } int *h_errno_location() __attribute__((weak,alias("__h_errno_location")));