mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

90 lines
2.2 KiB

  1. --- ./miscutils/time.c.orig 2005-11-04 13:26:21.000000000 +0100
  2. +++ ./miscutils/time.c 2005-11-04 13:26:28.000000000 +0100
  3. @@ -21,6 +21,7 @@
  4. Heavily modified for busybox by Erik Andersen <andersen@codepoet.org>
  5. */
  6. +#include "busybox.h"
  7. #include <stdlib.h>
  8. #include <stdio.h>
  9. #include <signal.h>
  10. @@ -36,7 +37,6 @@
  11. #define TV_MSEC tv_usec / 1000
  12. #include <sys/resource.h>
  13. -#include "busybox.h"
  14. /* Information on the resources used by a child process. */
  15. typedef struct
  16. --- ./shell/ash.c.orig 2005-11-04 13:27:12.000000000 +0100
  17. +++ ./shell/ash.c 2005-11-04 13:27:21.000000000 +0100
  18. @@ -65,6 +65,7 @@
  19. #define _GNU_SOURCE
  20. #endif
  21. +#include "busybox.h"
  22. #include <sys/types.h>
  23. #include <sys/cdefs.h>
  24. #include <sys/ioctl.h>
  25. @@ -96,7 +97,6 @@
  26. #include <fnmatch.h>
  27. -#include "busybox.h"
  28. #include "pwd_.h"
  29. #ifdef CONFIG_ASH_JOB_CONTROL
  30. --- ./sysklogd/syslogd.c.orig 2005-11-04 13:27:36.000000000 +0100
  31. +++ ./sysklogd/syslogd.c 2005-11-04 13:27:43.000000000 +0100
  32. @@ -26,6 +26,8 @@
  33. *
  34. */
  35. +#include "busybox.h"
  36. +
  37. #include <stdio.h>
  38. #include <stdlib.h>
  39. #include <ctype.h>
  40. @@ -45,8 +47,6 @@
  41. #include <sys/un.h>
  42. #include <sys/param.h>
  43. -#include "busybox.h"
  44. -
  45. /* SYSLOG_NAMES defined to pull some extra junk from syslog.h */
  46. #define SYSLOG_NAMES
  47. #include <sys/syslog.h>
  48. --- ./networking/ping.c.orig 2005-11-04 13:26:37.000000000 +0100
  49. +++ ./networking/ping.c 2005-11-04 13:26:45.000000000 +0100
  50. @@ -31,6 +31,7 @@
  51. * Original copyright notice is retained at the end of this file.
  52. */
  53. +#include "busybox.h"
  54. #include <sys/param.h>
  55. #include <sys/socket.h>
  56. #include <sys/file.h>
  57. @@ -49,7 +50,6 @@
  58. #include <unistd.h>
  59. #include <string.h>
  60. #include <stdlib.h>
  61. -#include "busybox.h"
  62. static const int DEFDATALEN = 56;
  63. --- ./include/busybox.h.orig 2005-11-04 13:21:57.000000000 +0100
  64. +++ ./include/busybox.h 2005-11-04 13:30:10.000000000 +0100
  65. @@ -24,6 +24,13 @@
  66. #ifndef _BB_INTERNAL_H_
  67. #define _BB_INTERNAL_H_ 1
  68. +// never include the linux kernel config setting. They use the same
  69. +// namespace as the busybox config flags. -- Clifford Wolf
  70. +#ifdef _LINUX_CONFIG_H
  71. +# error Linux kernel config included before busybox.h
  72. +#endif
  73. +#define _LINUX_CONFIG_H
  74. +
  75. #include "config.h"
  76. #include <stdio.h>