aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/linux/guid_creator.cc1
-rw-r--r--src/config.h.in3
2 files changed, 4 insertions, 0 deletions
diff --git a/src/common/linux/guid_creator.cc b/src/common/linux/guid_creator.cc
index c92e69f4..6b5187c8 100644
--- a/src/common/linux/guid_creator.cc
+++ b/src/common/linux/guid_creator.cc
@@ -27,6 +27,7 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#include "config.h"
#include "common/linux/eintr_wrapper.h"
#include "common/linux/guid_creator.h"
diff --git a/src/config.h.in b/src/config.h.in
index a436d6ba..618e283d 100644
--- a/src/config.h.in
+++ b/src/config.h.in
@@ -45,6 +45,9 @@
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
+/* Fallback definition for old systems */
+#undef O_CLOEXEC
+
/* Name of package */
#undef PACKAGE