diff options
| author | ame <[email protected]> | 2025-07-28 20:45:37 -0500 |
|---|---|---|
| committer | ame <[email protected]> | 2025-07-28 20:45:37 -0500 |
| commit | 2df184d11bed4482a9454e811ab937e67ded2760 (patch) | |
| tree | dd032c1e850edf20bb443f0e97bfe0570fd2dddf /src/net/common.h | |
| parent | ed2dd6874a905769c5cfc080333ab0b12f9a9fe8 (diff) | |
define _gnu_source, fixes long address returns from memmem
Diffstat (limited to 'src/net/common.h')
| -rw-r--r-- | src/net/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/common.h b/src/net/common.h index fbafb58..947eee7 100644 --- a/src/net/common.h +++ b/src/net/common.h @@ -5,6 +5,7 @@ #include <stdio.h> #include <stdlib.h> #include <pthread.h> +#define _GNU_SOURCE #include <string.h> #include <unistd.h> #include <sys/stat.h> |
