diff --git a/src/cc/bcc_elf.c b/src/cc/bcc_elf.c index e2909d7c92d9..4342d593af38 100644 --- a/src/cc/bcc_elf.c +++ b/src/cc/bcc_elf.c @@ -13,6 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +#ifndef _GNU_SOURCE +#define _GNU_SOURCE +#endif #include #include #include