ソースを参照

Fix build on RHEL7

Fixes #26
Justine Tunney 2 年 前
コミット
1e0cffa5a3
2 ファイル変更2 行追加1 行削除
  1. 1 1
      Makefile
  2. 1 0
      bestline.c

+ 1 - 1
Makefile

@@ -1,4 +1,4 @@
-CFLAGS = -w -Os
+CFLAGS = -w -O
 
 CLEANFILES =				\
 	lisp				\

+ 1 - 0
bestline.c

@@ -143,6 +143,7 @@
 #include <string.h>
 #include <stdlib.h>
 #include <ctype.h>
+#include <sys/time.h>
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <sys/ioctl.h>