Переглянути джерело

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>