mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 23:36:16 +02:00
* Include some required header files.
This commit is contained in:
parent
26fd28432d
commit
52a2f41320
3 changed files with 4 additions and 1 deletions
|
@ -11,6 +11,7 @@
|
|||
|
||||
#include <cerrno>
|
||||
#include <ctime>
|
||||
#include <algorithm>
|
||||
|
||||
|
||||
typedef enum {
|
||||
|
@ -871,7 +872,7 @@ static void opDefaultExpr(Globals & globals,
|
|||
|
||||
|
||||
static string needArg(Strings::iterator & i,
|
||||
const Strings & args, const string & arg)
|
||||
Strings & args, const string & arg)
|
||||
{
|
||||
++i;
|
||||
if (i == args.end()) throw UsageError(
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
static bool cmpGensByNumber(const Generation & a, const Generation & b)
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#include <iostream>
|
||||
#include <algorithm>
|
||||
|
||||
#include "globals.hh"
|
||||
#include "build.hh"
|
||||
|
|
Loading…
Reference in a new issue