Skip to content

Commit

Permalink
include/nutconf.hpp, common/nutwriter.cpp: error: must #include <type…
Browse files Browse the repository at this point in the history
…info> before using typeid [networkupstools#2294]

Signed-off-by: Jim Klimov <[email protected]>
  • Loading branch information
jimklimov committed Apr 29, 2024
1 parent 0b0126d commit 26578fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion common/nutwriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <list>
#include <map>
#include <cassert>

#include <typeinfo>

/**
* \brief NUT configuration directive generator
Expand Down
1 change: 1 addition & 0 deletions include/nutconf.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#include <list>
#include <map>
#include <stdexcept>
#include <typeinfo>

/* See include/common.h for details behind this */
#ifndef NUT_UNUSED_VARIABLE
Expand Down

0 comments on commit 26578fb

Please sign in to comment.