瀏覽代碼

fix for glibc sys/types.h deprecation warnings (#31)

master
Johnathan Jenkins Arun Prakash Jana 8 年之前
父節點
當前提交
ab6bdbee6d
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: A75979F35C080412
共有 1 個檔案被更改,包括 6 行新增1 行删除
  1. +6
    -1
      nnn.c

+ 6
- 1
nnn.c 查看文件

@@ -1,6 +1,11 @@
/* See LICENSE file for copyright and license details. */ /* See LICENSE file for copyright and license details. */
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) \
|| defined(__APPLE__)
# include <sys/types.h>
#else
# include <sys/sysmacros.h>
#endif
#include <sys/wait.h> #include <sys/wait.h>
#include <sys/statvfs.h> #include <sys/statvfs.h>
#include <sys/resource.h> #include <sys/resource.h>


||||||
x
 
000:0
Loading…
取消
儲存