X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/a689cf870986a04cf7a8b4fc74cab10e808f3c93..1c67c0188bc9cd5095154efde3011bb6ac1b3130:/ftmacros.h diff --git a/ftmacros.h b/ftmacros.h index c9263f64..3cd75056 100644 --- a/ftmacros.h +++ b/ftmacros.h @@ -113,7 +113,10 @@ #ifndef _DEFAULT_SOURCE #define _DEFAULT_SOURCE #endif - #define _BSD_SOURCE + /* Avoid redefining _BSD_SOURCE if it's already defined as for ex. 1 */ + #ifndef _BSD_SOURCE + #define _BSD_SOURCE + #endif #endif #endif