about summary refs log tree commit diff
path: root/src/libmain/shared.hh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-02-09T20·07+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-02-09T20·07+0100
commit0db9e6cd1af299f7d65e0b99019f0ccdbb1aaf3f (patch)
tree78e8c206bef0ac59146157c1b35b5c92af0bb819 /src/libmain/shared.hh
parentc780c1124ec6711f09b9855c3b574b6655af6625 (diff)
New command line parsing infrastructure
Diffstat (limited to 'src/libmain/shared.hh')
-rw-r--r--src/libmain/shared.hh3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libmain/shared.hh b/src/libmain/shared.hh
index e4b984f067e4..20744be0ab9b 100644
--- a/src/libmain/shared.hh
+++ b/src/libmain/shared.hh
@@ -1,6 +1,7 @@
 #pragma once
 
 #include "util.hh"
+#include "args.hh"
 
 #include <signal.h>
 
@@ -9,8 +10,6 @@
 
 namespace nix {
 
-MakeError(UsageError, nix::Error);
-
 class Exit : public std::exception
 {
 public: