Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 40ced50

Browse files
committed
Jack Jansen: Mac Carbon: don't include sys/types if we don't have it
1 parent 9cb1cab commit 40ced50

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Modules/pcre.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
/* Have to include stdlib.h in order to ensure that size_t is defined;
1515
it is needed here for malloc. */
1616

17+
#ifndef DONT_HAVE_SYS_TYPES_H
1718
#include <sys/types.h>
19+
#endif
1820
#include <stdlib.h>
1921

2022
/* Allow for C++ users */

0 commit comments

Comments
 (0)