diff options
Diffstat (limited to 'libc/include/stdlib.h')
| -rw-r--r-- | libc/include/stdlib.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/include/stdlib.h b/libc/include/stdlib.h index 990d77a..a6e27f2 100644 --- a/libc/include/stdlib.h +++ b/libc/include/stdlib.h @@ -1,3 +1,6 @@ +#ifndef _STDLIB_H_ +#define _STDLIB_H_ + /* this is by no means standards-compliant... but who cares? :P */ /* NOT reentrant! */ @@ -6,7 +9,10 @@ char* itoa(int val, int base); #define RAND_MAX ((1U << 31) - 1) #define MIN(x,y) ((x<y)?x:y) +#define MAX(x,y) ((x>y)?x:y) unsigned int rand(void); void srand(unsigned int); int abs(int); + +#endif |