소스 검색

ldso: pull in missing bits/fcntl.h header for O_CLOEXEC

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger 14 년 전
부모
커밋
aef262eb5a
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      ldso/include/ldso.h

+ 2 - 0
ldso/include/ldso.h

@@ -27,6 +27,8 @@
 /* Pull in compiler and arch stuff */
 #include <stdlib.h>
 #include <stdarg.h>
+#define _FCNTL_H
+#include <bits/fcntl.h>
 #include <bits/wordsize.h>
 /* Pull in the arch specific type information */
 #include <sys/types.h>