浏览代码

fix compile failure: legacy cuserid needs to define feature test

Rich Felker 14 年之前
父节点
当前提交
bad481266e
共有 1 个文件被更改,包括 1 次插入0 次删除
  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>