Skip to content

Commit

Permalink
* add needed features header
Browse files Browse the repository at this point in the history
  • Loading branch information
Shawn David Pringle, B.Sc. committed Nov 2, 2024
1 parent 204f093 commit 40720ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/be_alloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#ifndef BE_ALLOC_H_
#define BE_ALLOC_H_ 1

#include <features.h>
#include <limits.h>
#include "execute.h"
#include "symtab.h"
Expand Down Expand Up @@ -173,6 +174,7 @@ extern char *ERealloc(char *orig, uintptr_t newsize);
GLIB versions between 2.28 (when the old code worked) and version 2.39
is where the things get broken.
*/

#if defined(__DJGPP__) ? (__DJGPP__ <= 2 && __DJGPP_MINOR__ < 4) : \
!__GLIBC_PREREQ(2, 39)
size_t strlcpy(char *dest, char *src, size_t maxlen);
Expand Down

0 comments on commit 40720ad

Please sign in to comment.