aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/nng/args.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/nng/args.h b/include/nng/args.h
index faaa98b2..632b65e8 100644
--- a/include/nng/args.h
+++ b/include/nng/args.h
@@ -8,6 +8,9 @@
// found online at https://opensource.org/licenses/MIT.
//
+#ifndef NNG_ARGS_H
+#define NNG_ARGS_H
+
// This is a relatively simple "command line options parsing" library, used to
// parse command line options. We would use getopt(3), but there are
// two problems with getopt(3). First, it isn't available on all
@@ -161,3 +164,5 @@ nng_args_parse(int argc, char *const *argv, const nng_arg_spec *specs,
return (0);
}
+
+#endif // NNG_ARGS_H