Skip to content

Commit 265f216

Browse files
jfgrimmaperezdc
authored andcommitted
include string.h before poison pragma to avoid build issues on CentOS 7 (#123)
(cherry picked from commit 5902d8e)
1 parent cb8642f commit 265f216

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/alloc-private.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#define wpe_alloc_private_h
2929

3030
#include <stdlib.h>
31+
#include <string.h>
3132

3233
#if defined(__has_attribute) && __has_attribute(noreturn)
3334
#define WPE_NORETURN __attribute__((noreturn))

0 commit comments

Comments
 (0)