]> Zhao Yanbai Git Server - minix.git/commitdiff
. flex moved back into the base system, so prefix is /usr
authorBen Gras <ben@minix3.org>
Tue, 20 Jun 2006 08:46:45 +0000 (08:46 +0000)
committerBen Gras <ben@minix3.org>
Tue, 20 Jun 2006 08:46:45 +0000 (08:46 +0000)
. sysenv.c and umount.c need <minix/type.h> now

commands/flex-2.5.4/build
commands/simple/sysenv.c
commands/simple/umount.c

index a56370ab0fe8955a45f93ec5c747ba2a3b66237a..931105a1803ce6d49f181cb661bb65e50a9026ef 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-CC=cc /bin/sh ./configure --prefix=/usr/local && make all
+CC=cc /bin/sh ./configure --prefix=/usr && make all
 if [ "$1" != build ]
 then make install
 fi
index cb8b87aa63d511bda1db2c9dc31807fe7a8b4392..86e310b3dcef19b2646acd7ebcead02832e4bfbe 100755 (executable)
@@ -2,6 +2,7 @@
  *                                                             23 Dec 2000
  */
 #define nil ((void*)0)
+#include <minix/type.h>
 #include <sys/types.h>
 #include <sys/svrctl.h>
 #include <stdarg.h>
index 95eee6cf1720cf6e569e16a5814f7e15f03f3c42..928d0093f1da4813f036c957ef83ad79fed9c0ab 100755 (executable)
@@ -3,6 +3,7 @@
 #define _MINIX 1               /* for proto of the non-POSIX umount() */
 #define _POSIX_SOURCE 1                /* for PATH_MAX from limits.h */
 
+#include <minix/type.h>
 #include <sys/types.h>
 #include <sys/svrctl.h>
 #include <fcntl.h>