Преглед изворни кода

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>