screen-cross_compile_fix.patch 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524
  1. --- a/configure.orig 2003-12-05 14:46:53.000000000 +0100
  2. +++ b/configure 2007-07-28 12:45:19.000000000 +0200
  3. @@ -124,7 +124,7 @@
  4. fi
  5. if test ! -f "$as_myself"; then
  6. { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
  7. - { (exit 1); exit 1; }; }
  8. + }
  9. fi
  10. case $CONFIG_SHELL in
  11. '')
  12. @@ -174,7 +174,7 @@
  13. ' >$as_me.lineno &&
  14. chmod +x $as_me.lineno ||
  15. { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  16. - { (exit 1); exit 1; }; }
  17. + }
  18. # Don't try to exec as it changes $[0], causing all sort of problems
  19. # (the dirname of $[0] is not the place where we might find the
  20. @@ -397,7 +397,7 @@
  21. # Reject names that are not valid shell variable names.
  22. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  23. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  24. - { (exit 1); exit 1; }; }
  25. + }
  26. ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  27. eval "enable_$ac_feature=no" ;;
  28. @@ -406,7 +406,7 @@
  29. # Reject names that are not valid shell variable names.
  30. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  31. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  32. - { (exit 1); exit 1; }; }
  33. + }
  34. ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  35. case $ac_option in
  36. *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  37. @@ -588,7 +588,7 @@
  38. # Reject names that are not valid shell variable names.
  39. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  40. { echo "$as_me: error: invalid package name: $ac_package" >&2
  41. - { (exit 1); exit 1; }; }
  42. + }
  43. ac_package=`echo $ac_package| sed 's/-/_/g'`
  44. case $ac_option in
  45. *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  46. @@ -601,7 +601,7 @@
  47. # Reject names that are not valid shell variable names.
  48. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  49. { echo "$as_me: error: invalid package name: $ac_package" >&2
  50. - { (exit 1); exit 1; }; }
  51. + }
  52. ac_package=`echo $ac_package | sed 's/-/_/g'`
  53. eval "with_$ac_package=no" ;;
  54. @@ -625,7 +625,7 @@
  55. -*) { echo "$as_me: error: unrecognized option: $ac_option
  56. Try \`$0 --help' for more information." >&2
  57. - { (exit 1); exit 1; }; }
  58. + }
  59. ;;
  60. *=*)
  61. @@ -633,7 +633,7 @@
  62. # Reject names that are not valid shell variable names.
  63. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  64. { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  65. - { (exit 1); exit 1; }; }
  66. + }
  67. ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  68. eval "$ac_envvar='$ac_optarg'"
  69. export $ac_envvar ;;
  70. @@ -652,7 +652,7 @@
  71. if test -n "$ac_prev"; then
  72. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  73. { echo "$as_me: error: missing argument to $ac_option" >&2
  74. - { (exit 1); exit 1; }; }
  75. + }
  76. fi
  77. # Be sure to have absolute paths.
  78. @@ -662,7 +662,7 @@
  79. case $ac_val in
  80. [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  81. *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  82. - { (exit 1); exit 1; }; };;
  83. + };;
  84. esac
  85. done
  86. @@ -674,7 +674,7 @@
  87. case $ac_val in
  88. [\\/$]* | ?:[\\/]* ) ;;
  89. *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  90. - { (exit 1); exit 1; }; };;
  91. + };;
  92. esac
  93. done
  94. @@ -728,15 +728,15 @@
  95. if test ! -r $srcdir/$ac_unique_file; then
  96. if test "$ac_srcdir_defaulted" = yes; then
  97. { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  98. - { (exit 1); exit 1; }; }
  99. + }
  100. else
  101. { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  102. - { (exit 1); exit 1; }; }
  103. + }
  104. fi
  105. fi
  106. (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  107. { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
  108. - { (exit 1); exit 1; }; }
  109. + }
  110. srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  111. ac_env_build_alias_set=${build_alias+set}
  112. ac_env_build_alias_value=$build_alias
  113. @@ -1243,7 +1243,7 @@
  114. echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  115. { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  116. echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  117. - { (exit 1); exit 1; }; }
  118. + }
  119. fi
  120. ac_ext=c
  121. @@ -1734,7 +1734,7 @@
  122. See \`config.log' for more details." >&5
  123. echo "$as_me: error: no acceptable C compiler found in \$PATH
  124. See \`config.log' for more details." >&2;}
  125. - { (exit 1); exit 1; }; }
  126. + }
  127. # Provide some information about the compiler.
  128. echo "$as_me:$LINENO:" \
  129. @@ -1856,7 +1856,7 @@
  130. echo "$as_me: error: cannot run C compiled programs.
  131. If you meant to cross compile, use \`--host'.
  132. See \`config.log' for more details." >&2;}
  133. - { (exit 1); exit 1; }; }
  134. + }
  135. fi
  136. fi
  137. fi
  138. @@ -1898,7 +1898,7 @@
  139. See \`config.log' for more details." >&5
  140. echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  141. See \`config.log' for more details." >&2;}
  142. - { (exit 1); exit 1; }; }
  143. + }
  144. fi
  145. rm -f conftest$ac_cv_exeext
  146. @@ -1950,7 +1950,7 @@
  147. See \`config.log' for more details." >&5
  148. echo "$as_me: error: cannot compute suffix of object files: cannot compile
  149. See \`config.log' for more details." >&2;}
  150. - { (exit 1); exit 1; }; }
  151. + }
  152. fi
  153. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  154. @@ -2514,7 +2514,7 @@
  155. See \`config.log' for more details." >&5
  156. echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  157. See \`config.log' for more details." >&2;}
  158. - { (exit 1); exit 1; }; }
  159. + }
  160. fi
  161. ac_ext=c
  162. @@ -2704,7 +2704,7 @@
  163. See \`config.log' for more details." >&5
  164. echo "$as_me: error: cannot run test program while cross compiling
  165. See \`config.log' for more details." >&2;}
  166. - { (exit 1); exit 1; }; }
  167. + }
  168. else
  169. cat >conftest.$ac_ext <<_ACEOF
  170. #line $LINENO "configure"
  171. @@ -2753,7 +2753,7 @@
  172. See \`config.log' for more details." >&5
  173. echo "$as_me: error: cannot run test program while cross compiling
  174. See \`config.log' for more details." >&2;}
  175. - { (exit 1); exit 1; }; }
  176. + }
  177. else
  178. cat >conftest.$ac_ext <<_ACEOF
  179. #line $LINENO "configure"
  180. @@ -2790,7 +2790,7 @@
  181. { { echo "$as_me:$LINENO: error: Can't run the compiler - sorry" >&5
  182. echo "$as_me: error: Can't run the compiler - sorry" >&2;}
  183. - { (exit 1); exit 1; }; }
  184. + }
  185. fi
  186. rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  187. fi
  188. @@ -2800,7 +2800,7 @@
  189. See \`config.log' for more details." >&5
  190. echo "$as_me: error: cannot run test program while cross compiling
  191. See \`config.log' for more details." >&2;}
  192. - { (exit 1); exit 1; }; }
  193. + }
  194. else
  195. cat >conftest.$ac_ext <<_ACEOF
  196. #line $LINENO "configure"
  197. @@ -2830,7 +2830,7 @@
  198. (exit $ac_status); }; }; then
  199. { { echo "$as_me:$LINENO: error: Your compiler does not set the exit status - sorry" >&5
  200. echo "$as_me: error: Your compiler does not set the exit status - sorry" >&2;}
  201. - { (exit 1); exit 1; }; }
  202. + }
  203. else
  204. echo "$as_me: program exited with status $ac_status" >&5
  205. echo "$as_me: failed program was:" >&5
  206. @@ -2900,7 +2900,7 @@
  207. if test -z "$ac_aux_dir"; then
  208. { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
  209. echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
  210. - { (exit 1); exit 1; }; }
  211. + }
  212. fi
  213. ac_config_guess="$SHELL $ac_aux_dir/config.guess"
  214. ac_config_sub="$SHELL $ac_aux_dir/config.sub"
  215. @@ -4149,7 +4149,7 @@
  216. { { echo "$as_me:$LINENO: error: !!! no select - no screen" >&5
  217. echo "$as_me: error: !!! no select - no screen" >&2;}
  218. - { (exit 1); exit 1; }; }
  219. + }
  220. fi
  221. rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  222. @@ -4163,7 +4163,7 @@
  223. See \`config.log' for more details." >&5
  224. echo "$as_me: error: cannot run test program while cross compiling
  225. See \`config.log' for more details." >&2;}
  226. - { (exit 1); exit 1; }; }
  227. + }
  228. else
  229. cat >conftest.$ac_ext <<_ACEOF
  230. #line $LINENO "configure"
  231. @@ -4272,7 +4272,7 @@
  232. See \`config.log' for more details." >&5
  233. echo "$as_me: error: cannot run test program while cross compiling
  234. See \`config.log' for more details." >&2;}
  235. - { (exit 1); exit 1; }; }
  236. + }
  237. else
  238. cat >conftest.$ac_ext <<_ACEOF
  239. #line $LINENO "configure"
  240. @@ -4365,7 +4365,7 @@
  241. See \`config.log' for more details." >&5
  242. echo "$as_me: error: cannot run test program while cross compiling
  243. See \`config.log' for more details." >&2;}
  244. - { (exit 1); exit 1; }; }
  245. + }
  246. else
  247. cat >conftest.$ac_ext <<_ACEOF
  248. #line $LINENO "configure"
  249. @@ -4460,7 +4460,7 @@
  250. See \`config.log' for more details." >&5
  251. echo "$as_me: error: cannot run test program while cross compiling
  252. See \`config.log' for more details." >&2;}
  253. - { (exit 1); exit 1; }; }
  254. + }
  255. else
  256. cat >conftest.$ac_ext <<_ACEOF
  257. #line $LINENO "configure"
  258. @@ -4562,7 +4562,7 @@
  259. else
  260. { { echo "$as_me:$LINENO: error: you have neither usable sockets nor usable pipes -> no screen" >&5
  261. echo "$as_me: error: you have neither usable sockets nor usable pipes -> no screen" >&2;}
  262. - { (exit 1); exit 1; }; }
  263. + }
  264. fi
  265. @@ -4573,7 +4573,7 @@
  266. See \`config.log' for more details." >&5
  267. echo "$as_me: error: cannot run test program while cross compiling
  268. See \`config.log' for more details." >&2;}
  269. - { (exit 1); exit 1; }; }
  270. + }
  271. else
  272. cat >conftest.$ac_ext <<_ACEOF
  273. #line $LINENO "configure"
  274. @@ -4898,7 +4898,7 @@
  275. { { echo "$as_me:$LINENO: error: !!! no tgetent - no screen" >&5
  276. echo "$as_me: error: !!! no tgetent - no screen" >&2;}
  277. - { (exit 1); exit 1; }; }
  278. + }
  279. fi
  280. rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  281. fi
  282. @@ -4915,7 +4915,7 @@
  283. See \`config.log' for more details." >&5
  284. echo "$as_me: error: cannot run test program while cross compiling
  285. See \`config.log' for more details." >&2;}
  286. - { (exit 1); exit 1; }; }
  287. + }
  288. else
  289. cat >conftest.$ac_ext <<_ACEOF
  290. #line $LINENO "configure"
  291. @@ -5359,7 +5359,7 @@
  292. See \`config.log' for more details." >&5
  293. echo "$as_me: error: cannot run test program while cross compiling
  294. See \`config.log' for more details." >&2;}
  295. - { (exit 1); exit 1; }; }
  296. + }
  297. else
  298. cat >conftest.$ac_ext <<_ACEOF
  299. #line $LINENO "configure"
  300. @@ -6206,7 +6206,7 @@
  301. See \`config.log' for more details." >&5
  302. echo "$as_me: error: cannot run test program while cross compiling
  303. See \`config.log' for more details." >&2;}
  304. - { (exit 1); exit 1; }; }
  305. + }
  306. else
  307. cat >conftest.$ac_ext <<_ACEOF
  308. #line $LINENO "configure"
  309. @@ -6482,7 +6482,7 @@
  310. See \`config.log' for more details." >&5
  311. echo "$as_me: error: cannot run test program while cross compiling
  312. See \`config.log' for more details." >&2;}
  313. - { (exit 1); exit 1; }; }
  314. + }
  315. else
  316. cat >conftest.$ac_ext <<_ACEOF
  317. #line $LINENO "configure"
  318. @@ -6598,8 +6598,6 @@
  319. LIBS="$oldlibs"
  320. fi
  321. rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  322. -test -f /lib/libsec.a || test -f /usr/lib/libsec.a && LIBS="$LIBS -lsec"
  323. -test -f /lib/libshadow.a || test -f /usr/lib/libshadow.a && LIBS="$LIBS -lshadow"
  324. oldlibs="$LIBS"
  325. LIBS="$LIBS -lsun"
  326. { echo "$as_me:$LINENO: checking IRIX sun library..." >&5
  327. @@ -7004,7 +7002,7 @@
  328. See \`config.log' for more details." >&5
  329. echo "$as_me: error: cannot run test program while cross compiling
  330. See \`config.log' for more details." >&2;}
  331. - { (exit 1); exit 1; }; }
  332. + }
  333. else
  334. cat >conftest.$ac_ext <<_ACEOF
  335. #line $LINENO "configure"
  336. @@ -7056,7 +7054,7 @@
  337. See \`config.log' for more details." >&5
  338. echo "$as_me: error: cannot run test program while cross compiling
  339. See \`config.log' for more details." >&2;}
  340. - { (exit 1); exit 1; }; }
  341. + }
  342. else
  343. cat >conftest.$ac_ext <<_ACEOF
  344. #line $LINENO "configure"
  345. @@ -7110,7 +7108,7 @@
  346. See \`config.log' for more details." >&5
  347. echo "$as_me: error: cannot run test program while cross compiling
  348. See \`config.log' for more details." >&2;}
  349. - { (exit 1); exit 1; }; }
  350. + }
  351. else
  352. cat >conftest.$ac_ext <<_ACEOF
  353. #line $LINENO "configure"
  354. @@ -7951,7 +7949,7 @@
  355. See \`config.log' for more details." >&5
  356. echo "$as_me: error: cannot run test program while cross compiling
  357. See \`config.log' for more details." >&2;}
  358. - { (exit 1); exit 1; }; }
  359. + }
  360. else
  361. cat >conftest.$ac_ext <<_ACEOF
  362. #line $LINENO "configure"
  363. @@ -7982,7 +7980,7 @@
  364. ( exit $ac_status )
  365. { { echo "$as_me:$LINENO: error: Can't run the compiler - internal error. Sorry." >&5
  366. echo "$as_me: error: Can't run the compiler - internal error. Sorry." >&2;}
  367. - { (exit 1); exit 1; }; }
  368. + }
  369. fi
  370. rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  371. fi
  372. @@ -8251,7 +8249,7 @@
  373. if test ! -f "$as_myself"; then
  374. { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
  375. echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
  376. - { (exit 1); exit 1; }; }
  377. + }
  378. fi
  379. case $CONFIG_SHELL in
  380. '')
  381. @@ -8302,7 +8300,7 @@
  382. chmod +x $as_me.lineno ||
  383. { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
  384. echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
  385. - { (exit 1); exit 1; }; }
  386. + }
  387. # Don't try to exec as it changes $[0], causing all sort of problems
  388. # (the dirname of $[0] is not the place where we might find the
  389. @@ -8494,7 +8492,7 @@
  390. Try \`$0 --help' for more information." >&5
  391. echo "$as_me: error: ambiguous option: $1
  392. Try \`$0 --help' for more information." >&2;}
  393. - { (exit 1); exit 1; }; };;
  394. + };;
  395. --help | --hel | -h )
  396. echo "$ac_cs_usage"; exit 0 ;;
  397. --debug | --d* | -d )
  398. @@ -8516,7 +8514,7 @@
  399. Try \`$0 --help' for more information." >&5
  400. echo "$as_me: error: unrecognized option: $1
  401. Try \`$0 --help' for more information." >&2;}
  402. - { (exit 1); exit 1; }; } ;;
  403. + } ;;
  404. *) ac_config_targets="$ac_config_targets $1" ;;
  405. @@ -8555,7 +8553,7 @@
  406. "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  407. *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  408. echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  409. - { (exit 1); exit 1; }; };;
  410. + };;
  411. esac
  412. done
  413. @@ -8750,7 +8748,7 @@
  414. test ! -n "$as_dirs" || mkdir $as_dirs
  415. fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  416. echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  417. - { (exit 1); exit 1; }; }; }
  418. + }; }
  419. ac_builddir=.
  420. @@ -8816,7 +8814,7 @@
  421. # Absolute (can't be DOS-style, as IFS=:)
  422. test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  423. echo "$as_me: error: cannot find input file: $f" >&2;}
  424. - { (exit 1); exit 1; }; }
  425. + }
  426. echo $f;;
  427. *) # Relative
  428. if test -f "$f"; then
  429. @@ -8829,7 +8827,7 @@
  430. # /dev/null tree
  431. { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  432. echo "$as_me: error: cannot find input file: $f" >&2;}
  433. - { (exit 1); exit 1; }; }
  434. + }
  435. fi;;
  436. esac
  437. done` || { (exit 1); exit 1; }
  438. @@ -8907,7 +8905,7 @@
  439. # Absolute (can't be DOS-style, as IFS=:)
  440. test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  441. echo "$as_me: error: cannot find input file: $f" >&2;}
  442. - { (exit 1); exit 1; }; }
  443. + }
  444. echo $f;;
  445. *) # Relative
  446. if test -f "$f"; then
  447. @@ -8920,7 +8918,7 @@
  448. # /dev/null tree
  449. { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  450. echo "$as_me: error: cannot find input file: $f" >&2;}
  451. - { (exit 1); exit 1; }; }
  452. + }
  453. fi;;
  454. esac
  455. done` || { (exit 1); exit 1; }
  456. @@ -9073,7 +9071,7 @@
  457. test ! -n "$as_dirs" || mkdir $as_dirs
  458. fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  459. echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  460. - { (exit 1); exit 1; }; }; }
  461. + }; }
  462. rm -f $ac_file
  463. mv $tmp/config.h $ac_file
  464. --- a/pty.c.orig 2003-09-08 16:26:18.000000000 +0200
  465. +++ b/pty.c 2007-07-28 12:45:19.000000000 +0200
  466. @@ -34,9 +34,9 @@
  467. #endif
  468. /* for solaris 2.1, Unixware (SVR4.2) and possibly others */
  469. -#ifdef HAVE_SVR4_PTYS
  470. -# include <sys/stropts.h>
  471. -#endif
  472. +//#ifdef HAVE_SVR4_PTYS
  473. +//# include <sys/stropts.h>
  474. +//#endif
  475. #if defined(sun) && defined(LOCKPTY) && !defined(TIOCEXCL)
  476. # include <sys/ttold.h>
  477. --- a/sched.h.orig 2002-01-08 16:42:43.000000000 +0100
  478. +++ b/sched.h 2007-07-28 12:45:19.000000000 +0200
  479. @@ -22,6 +22,11 @@
  480. * $Id: sched.h,v 1.1.1.1 1993/06/16 23:51:13 jnweiger Exp $ FAU
  481. */
  482. +#ifndef __SCHED_H
  483. +#define __SCHED_H
  484. +
  485. +#include <sys/time.h>
  486. +
  487. struct event
  488. {
  489. struct event *next;
  490. @@ -41,3 +46,5 @@
  491. #define EV_READ 1
  492. #define EV_WRITE 2
  493. #define EV_ALWAYS 3
  494. +
  495. +#endif