long gid;
int recursiveFlag;
int retval = EXIT_SUCCESS;
- char *p;
recursiveFlag = bb_getopt_ulflags(argc, argv, "R");
#include <asm/byteorder.h>
-#if __BYTE_ORDER == __BIG_ENDIAN
+#if (__BYTE_ORDER == __BIG_ENDIAN) && !defined(__USE_XOPEN)
#define __USE_XOPEN
#endif
#include <stdlib.h>
#include <unistd.h>
#include <signal.h>
+
#include "busybox.h"
static const int RFC_868_BIAS = 2208988800UL;
-static void socket_timeout(void)
+static void socket_timeout(int sig)
{
bb_error_msg_and_die("timeout connecting to time server");
}