[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
323/376: Explicitly include required C headers
From: |
Ludovic Courtès |
Subject: |
323/376: Explicitly include required C headers |
Date: |
Wed, 28 Jan 2015 22:05:55 +0000 |
civodul pushed a commit to tag 1.8
in repository guix.
commit 629e8da3aa6da507bc360385f5f341471ef57a89
Author: Marko Durkovic <address@hidden>
Date: Tue Dec 9 12:16:27 2014 +0100
Explicitly include required C headers
---
src/download-via-ssh/download-via-ssh.cc | 1 +
src/libmain/shared.cc | 1 +
src/libstore/optimise-store.cc | 1 +
src/libstore/remote-store.cc | 1 +
src/libutil/monitor-fd.hh | 1 +
5 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/download-via-ssh/download-via-ssh.cc
b/src/download-via-ssh/download-via-ssh.cc
index b64455e..164c24b 100644
--- a/src/download-via-ssh/download-via-ssh.cc
+++ b/src/download-via-ssh/download-via-ssh.cc
@@ -9,6 +9,7 @@
#include "store-api.hh"
#include <iostream>
+#include <stdlib.h>
#include <unistd.h>
using namespace nix;
diff --git a/src/libmain/shared.cc b/src/libmain/shared.cc
index ef4ea37..bf5688a 100644
--- a/src/libmain/shared.cc
+++ b/src/libmain/shared.cc
@@ -11,6 +11,7 @@
#include <exception>
#include <algorithm>
+#include <stdlib.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <unistd.h>
diff --git a/src/libstore/optimise-store.cc b/src/libstore/optimise-store.cc
index dd18d66..fb56076 100644
--- a/src/libstore/optimise-store.cc
+++ b/src/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/src/libstore/remote-store.cc b/src/libstore/remote-store.cc
index 650f177..cabde05 100644
--- a/src/libstore/remote-store.cc
+++ b/src/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>
diff --git a/src/libutil/monitor-fd.hh b/src/libutil/monitor-fd.hh
index 72d23fb..e99869e 100644
--- a/src/libutil/monitor-fd.hh
+++ b/src/libutil/monitor-fd.hh
@@ -3,6 +3,7 @@
#include <thread>
#include <atomic>
+#include <stdlib.h>
#include <poll.h>
#include <sys/types.h>
#include <unistd.h>
- 311/376: Add a primop for regular expression pattern matching, (continued)
- 311/376: Add a primop for regular expression pattern matching, Ludovic Courtès, 2015/01/28
- 312/376: Rely on XML catalogs to find the DocBook schemas and stylesheets, Ludovic Courtès, 2015/01/28
- 313/376: Intro: Mention binary caches, Ludovic Courtès, 2015/01/28
- 303/376: Manual: Bump date, Ludovic Courtès, 2015/01/28
- 315/376: Make all ExternalValueBase functions const, Ludovic Courtès, 2015/01/28
- 318/376: Shut up a warning, Ludovic Courtès, 2015/01/28
- 317/376: Fix another operator precedence issue found by Perl 5.20, Ludovic Courtès, 2015/01/28
- 322/376: Remove Fedora 18, 19 builds, Ludovic Courtès, 2015/01/28
- 319/376: Use posix_spawn to run the pager, Ludovic Courtès, 2015/01/28
- 321/376: Remove some platforms with too-old compilers, Ludovic Courtès, 2015/01/28
- 323/376: Explicitly include required C headers,
Ludovic Courtès <=
- 316/376: Merge pull request #401 from shlevy/external-value, Ludovic Courtès, 2015/01/28
- 314/376: Allow external code using libnixexpr to add types, Ludovic Courtès, 2015/01/28
- 328/376: Provide some fallback defaults for the CA bundle, Ludovic Courtès, 2015/01/28
- 329/376: Add option to disable binary cache certificate checking, Ludovic Courtès, 2015/01/28
- 330/376: Doh, Ludovic Courtès, 2015/01/28
- 327/376: Use https://cache.nixos.org instead of http://cache.nixos.org, Ludovic Courtès, 2015/01/28
- 331/376: Fix bad comment, Ludovic Courtès, 2015/01/28
- 320/376: Define ‘environ’, Ludovic Courtès, 2015/01/28
- 333/376: builtins.readFile: realise context associated with the path, Ludovic Courtès, 2015/01/28
- 332/376: Always use https to fetch the Nixpkgs channel, Ludovic Courtès, 2015/01/28