summaryrefslogtreecommitdiff
path: root/src/luac/luac.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/luac/luac.c')
-rw-r--r--src/luac/luac.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/luac/luac.c b/src/luac/luac.c
index aa71afcf..7546c1bb 100644
--- a/src/luac/luac.c
+++ b/src/luac/luac.c
@@ -3,9 +3,10 @@
** lua compiler (saves bytecodes to files)
*/
-char* rcs_luac="$Id: luac.c,v 1.16 1996/03/13 17:33:03 lhf Exp $";
+char* rcs_luac="$Id: luac.c,v 1.18 1996/11/16 20:14:23 lhf Exp $";
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include "luac.h"
@@ -56,7 +57,7 @@ int main(int argc, char* argv[])
fprintf(stderr,"luac: will not overwrite input file \"%s\"\n",d);
exit(1);
}
- D=(dumping) ? fopen(d,"wb") : stdout; /* must open in binary mode */
+ D=(dumping) ? fopen(d,"wb") : stdout; /* must open in binary mode */
if (D==NULL)
{
fprintf(stderr,"luac: cannot open ");