Browse Source

fix compile failure: legacy cuserid needs to define feature test

Rich Felker 14 năm trước cách đây
mục cha
commit
bad481266e
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/misc/cuserid.c

+ 1 - 0
src/misc/cuserid.c

@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
 #include <pwd.h>
 #include <stdio.h>
 #include <unistd.h>