Skip to content

Commit

Permalink
test new include
Browse files Browse the repository at this point in the history
Signed-off-by: Andreea Andrisan <Andreea.Andrisan@analog.com>
  • Loading branch information
AAndrisa committed Sep 6, 2023
1 parent 23e9d01 commit 737b635
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ endif()
add_definitions(-D_POSIX_C_SOURCE=200809L -D__XSI_VISIBLE=500 -DLIBAD9361_EXPORTS=1)

find_library(LIBIIO_LIBRARIES iio)
find_path(LIBIIO_INCLUDEDIR iio.h)
find_path(LIBIIO_INCLUDEDIR iio/iio.h)

set(LIBAD9361_HEADERS ad9361.h)

Expand Down
2 changes: 1 addition & 1 deletion ad9361_baseband_auto_rate.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "ad9361.h"

#include <errno.h>
#include <iio.h>
#include <iio/iio.h>
#include <stdio.h>
#ifdef _WIN32
#include <windows.h>
Expand Down
2 changes: 1 addition & 1 deletion ad9361_design_taps.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "ad9361.h"
#include "filterdesigner/internal_design_filter_cg.h"
#include <errno.h>
#include <iio.h>
#include <iio/iio.h>
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
Expand Down
2 changes: 1 addition & 1 deletion ad9361_fmcomms5_phase_sync.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "ad9361.h"

#include <errno.h>
#include <iio.h>
#include <iio/iio.h>
#include <stdio.h>
#ifdef _WIN32
#include <windows.h>
Expand Down
2 changes: 1 addition & 1 deletion ad9361_multichip_sync.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "ad9361.h"

#include <errno.h>
#include <iio.h>
#include <iio/iio.h>
#include <stdio.h>
#ifdef _WIN32
#include <windows.h>
Expand Down
2 changes: 1 addition & 1 deletion test/auto_rate_test_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#ifdef __APPLE__
#include <iio/iio.h>
#else
#include <iio.h>
#include <iio/iio.h>
#endif

#define RATE_TOLERANCE_HZ 2
Expand Down
2 changes: 1 addition & 1 deletion test/filter_designer_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#ifdef __APPLE__
#include <iio/iio.h>
#else
#include <iio.h>
#include <iio/iio.h>
#endif

int main(void)
Expand Down
4 changes: 0 additions & 4 deletions test/fmcomms5_sync_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
#ifdef __APPLE__
#include <iio/iio.h>
#else
#include <iio.h>
#endif
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
Expand Down

0 comments on commit 737b635

Please sign in to comment.