Skip to content

Commit

Permalink
Added config.h to test C source files that didn't have it
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Preisler committed Jun 20, 2018
1 parent 110825f commit 3f331d9
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/API/CVE/test_api_cve.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdio.h>
#include <string.h>
Expand Down
5 changes: 5 additions & 0 deletions tests/API/CVRF/test_api_cvrf.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdio.h>
#include <string.h>
#include <cvss_score.h>
Expand Down
4 changes: 4 additions & 0 deletions tests/API/OVAL/schema_version/test_schema_version.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
* "Jan Černý" <[email protected]>
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdio.h>
#include <stdlib.h>
#include "OVAL/public/oval_schema_version.h"
Expand Down
4 changes: 4 additions & 0 deletions tests/API/XCCDF/unittests/test_oscap_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
* Simon Lukasik <[email protected]>
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdio.h>
#include <string.h>
#include "common/list.h"
Expand Down
4 changes: 4 additions & 0 deletions tests/API/XCCDF/unittests/test_xccdf_overrides.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
* Simon Lukasik <[email protected]>
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdio.h>

#include <ds_rds_session.h>
Expand Down
4 changes: 4 additions & 0 deletions tests/API/XCCDF/unittests/test_xccdf_shall_pass.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
* Simon Lukasik <[email protected]>
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdio.h>

#include <xccdf_benchmark.h>
Expand Down
4 changes: 4 additions & 0 deletions tests/API/XCCDF/unittests/unit_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
* Simon Lukasik <[email protected]>
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include "unit_helper.h"
#include <xccdf_benchmark.h>
#include <oval_agent_xccdf_api.h>
Expand Down
4 changes: 4 additions & 0 deletions tests/bz2/test_bz2_memory_source.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
* Simon Lukasik <[email protected]>
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdio.h>
#include <string.h>
#include <oscap_error.h>
Expand Down

0 comments on commit 3f331d9

Please sign in to comment.