Skip to content

Commit

Permalink
readerfactory.c: do not #include <alloca.h>
Browse files Browse the repository at this point in the history
Compilation fails on NetBSD with:
../src/readerfactory.c:52:10: fatal error: alloca.h: No such file or directory
 #include <alloca.h>
          ^~~~~~~~~~

alloca(3) is defined in stdlib.h on NetBSD.
  • Loading branch information
LudovicRousseau committed May 6, 2024
1 parent 468d3b5 commit 692c0e5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/readerfactory.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <errno.h>
#include <fcntl.h>
#include <pthread.h>
#include <alloca.h>
#include <stdatomic.h>
#include <stdbool.h>

Expand Down

0 comments on commit 692c0e5

Please sign in to comment.