guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/27: Explicitly include required C headers


From: Ludovic Courtès
Subject: 10/27: Explicitly include required C headers
Date: Wed, 03 Jun 2015 22:00:37 +0000

civodul pushed a commit to branch nix
in repository guix.

commit 45a145c8b2b60d8500ad9bbb7fed226c46af0d7e
Author: Marko Durkovic <address@hidden>
Date:   Tue Dec 9 12:16:27 2014 +0100

    Explicitly include required C headers
---
 nix/libstore/optimise-store.cc |    1 +
 nix/libstore/remote-store.cc   |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/nix/libstore/optimise-store.cc b/nix/libstore/optimise-store.cc
index 8ba9d1a..4ea27fd 100644
--- a/nix/libstore/optimise-store.cc
+++ b/nix/libstore/optimise-store.cc
@@ -4,6 +4,7 @@
 #include "local-store.hh"
 #include "globals.hh"
 
+#include <stdlib.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
diff --git a/nix/libstore/remote-store.cc b/nix/libstore/remote-store.cc
index 706904c..55156a9 100644
--- a/nix/libstore/remote-store.cc
+++ b/nix/libstore/remote-store.cc
@@ -10,6 +10,7 @@
 #include <sys/stat.h>
 #include <sys/socket.h>
 #include <sys/un.h>
+#include <errno.h>
 #include <fcntl.h>
 
 #include <iostream>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]