diff options
Diffstat (limited to 'src/cmd/grap')
-rw-r--r-- | src/cmd/grap/grap.y | 2 | ||||
-rw-r--r-- | src/cmd/grap/main.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/grap/grap.y b/src/cmd/grap/grap.y index 6d96b2f1..cb75a721 100644 --- a/src/cmd/grap/grap.y +++ b/src/cmd/grap/grap.y @@ -5,7 +5,7 @@ #include <string.h> #include "grap.h" -//#define RAND_MAX 32767 /* if your rand() returns bigger, change this too */ +/*#define RAND_MAX 32767 /* if your rand() returns bigger, change this too */ extern int yylex(void); extern int yyparse(void); diff --git a/src/cmd/grap/main.c b/src/cmd/grap/main.c index 07f4ecad..db2098f5 100644 --- a/src/cmd/grap/main.c +++ b/src/cmd/grap/main.c @@ -1,3 +1,4 @@ +#define _BSD_SOURCE 1 /* strdup, mkstemp */ #include <stdio.h> #include <signal.h> #include <math.h> |