Fix interoperability test compilation on FreeBSD
commita70da7f29f9d5f227f12db5eec029f1fa2ab46bb
authorDimitry Andric <dimitry@andric.com>
Mon, 25 Mar 2019 18:37:49 +0000 (25 18:37 +0000)
committerDimitry Andric <dimitry@andric.com>
Mon, 25 Mar 2019 18:37:49 +0000 (25 18:37 +0000)
tree5957b2dfed102f6ba13dc5c8bde9f8c6a8f92be5
parentdf32bf6b74039f1fc8c797a1fcaa96b5628be976
Fix interoperability test compilation on FreeBSD

Summary:
While building the 8.0 releases on FreeBSD, I encountered the following
error in the regression tests, where ompt/misc/interoperability.cpp
failed to compile, with:

```
projects/openmp/runtime/test/ompt/misc/interoperability.cpp:7:10: fatal error: 'alloca.h' file not found
#include <alloca.h>
         ^~~~~~~~~~
```

Like on NetBSD, alloca(3) is defined in <stdlib.h> instead.

Reviewers: emaste, jlpeyton, krytarowski, mgorny, protze.joachim

Reviewed By: jlpeyton

Subscribers: jdoerfert, openmp-commits

Tags: #openmp

Differential Revision: https://reviews.llvm.org/D59736

llvm-svn: 356936
openmp/runtime/test/ompt/misc/interoperability.cpp