Skip to content
This repository has been archived by the owner on Jun 29, 2024. It is now read-only.

Commit

Permalink
do not include sys/io.h or dependent code when __aarch64__ compiler m…
Browse files Browse the repository at this point in the history
…acro is matched
  • Loading branch information
ajpaul25 committed Jul 13, 2023
1 parent d59a394 commit 356db5b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion asterisk/apps/app_rpt.c
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ ASTERISK_FILE_VERSION(__FILE__,"$Revision$")
#include <fnmatch.h>
#include <curl/curl.h>

#ifndef __arm__
#if !defined(__arm__) && !defined(__aarch64__)
#include <sys/io.h>
#else
#define NO_PP
Expand Down
2 changes: 1 addition & 1 deletion asterisk/channels/chan_simpleusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ ASTERISK_FILE_VERSION(__FILE__,"$Revision$")
#include <alsa/asoundlib.h>
#include <linux/version.h>

#ifndef __arm__
#if !defined(__arm__) && !defined(__aarch64__)
#include <sys/io.h>
#else
#define NO_PP
Expand Down
2 changes: 1 addition & 1 deletion asterisk/channels/chan_usbradio.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ ASTERISK_FILE_VERSION(__FILE__,"$Revision$")
#include <linux/version.h>
#include <alsa/asoundlib.h>

#ifndef __arm__
#if !defined(__arm__) && !defined(__aarch64__)
#include <sys/io.h>
#else
#define NO_PP
Expand Down

0 comments on commit 356db5b

Please sign in to comment.