010-eglibc_compile_fix.patch 647 B

1234567891011121314151617181920212223
  1. --- a/configure.in
  2. +++ b/configure.in
  3. @@ -29,6 +29,8 @@ AC_C_VOLATILE
  4. #AC_FUNC_STRTOD
  5. #AC_CHECK_FUNCS([ftime gethostbyname gettimeofday localtime_r memset select socket strchr strerror strstr strtoull])
  6. +AC_SEARCH_LIBS([clock_gettime],[rt])
  7. +
  8. #
  9. # save the configure arguments
  10. #
  11. --- a/src/dsl_cpe_linux.h
  12. +++ b/src/dsl_cpe_linux.h
  13. @@ -45,7 +45,8 @@
  14. #include <arpa/inet.h>
  15. #include <sys/socket.h> /* socket */
  16. #include <sys/sem.h> /* semget */
  17. -#include <semaphore.h> /* sem_t */
  18. +#include <semaphore.h> /* sem_t */
  19. +#include <limits.h>
  20. #ifdef DSL_DEBUG_TOOL_INTERFACE
  21. #include <sys/socket.h>