Remove last traces of discard_all_inferiors
[deliverable/binutils-gdb.git] / libctf / ctf-decls.h
index d12409e4b608d28a68ff1db4f3c21ee2d2f58fc7..51041c592f452f3be5f18199adb59c12bf5dd2fb 100644 (file)
@@ -1,5 +1,5 @@
 /* Declarations for missing functions.
-   Copyright (C) 2019 Free Software Foundation, Inc.
+   Copyright (C) 2019-2020 Free Software Foundation, Inc.
 
    This file is part of libctf.
 
@@ -24,6 +24,7 @@
 
 #include <stddef.h>
 #include <stdlib.h>
+#include "libiberty.h"
 
 #if HAVE_QSORT_R_ARG_LAST
 static inline void
@@ -62,6 +63,10 @@ void ctf_qsort_r (void *base, size_t nmemb, size_t size,
              void *arg);
 #endif
 
+#ifndef HAVE_O_CLOEXEC
+# define O_CLOEXEC 0
+#endif
+
 #undef MAX
 #undef MIN
 #define MAX(a, b) ((a) > (b) ? (a) : (b))
This page took 0.032451 seconds and 4 git commands to generate.