瀏覽代碼

fix regression in ioctl definitions provided by arch/generic bits

commit b60fdf133c033d4ad6b04a8237f253563fae5928 broke the
SIOCGSTAMP[NS] ioctl fallbacks introduced in commit
2e554617e5a6a41bf3f6c6306c753cd53abf728c, as well as use of these
ioctls, by creating a situation where bits/ioctl.h could be included
without __LONG_MAX being visible.
Rich Felker 5 年之前
父節點
當前提交
b329095650
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      include/sys/ioctl.h

+ 1 - 0
include/sys/ioctl.h

@@ -4,6 +4,7 @@
 extern "C" {
 #endif
 
+#include <bits/alltypes.h>
 #include <bits/ioctl.h>
 
 #define N_TTY           0