Forráskód Böngészése

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

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger 14 éve
szülő
commit
aef262eb5a
1 módosított fájl, 2 hozzáadás és 0 törlés
  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>