diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/udp.c | 8 |
1 files changed, 8 insertions, 0 deletions
| @@ -15,6 +15,14 @@ | |||
| 15 | #include "options.h" | 15 | #include "options.h" |
| 16 | #include "udp.h" | 16 | #include "udp.h" |
| 17 | 17 | ||
| 18 | /* min and max macros */ | ||
| 19 | #ifndef MIN | ||
| 20 | #define MIN(x, y) ((x) < (y) ? x : y) | ||
| 21 | #endif | ||
| 22 | #ifndef MAX | ||
| 23 | #define MAX(x, y) ((x) > (y) ? x : y) | ||
| 24 | #endif | ||
| 25 | |||
| 18 | /*=========================================================================*\ | 26 | /*=========================================================================*\ |
| 19 | * Internal function prototypes | 27 | * Internal function prototypes |
| 20 | \*=========================================================================*/ | 28 | \*=========================================================================*/ |
