瀏覽代碼

Fix compile warning

Tatsuhiro Tsujikawa 7 年之前
父節點
當前提交
388d1ca330
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/getrandom_linux.c

+ 1 - 0
src/getrandom_linux.c

@@ -37,6 +37,7 @@
 #include <unistd.h>
 #include <sys/syscall.h>
 #include <linux/random.h>
+#include <sys/random.h>
 #include <errno.h>
 #include <linux/errno.h>
 #include <stdint.h>