]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
define USEC
authorAlan T. DeKok <aland@freeradius.org>
Fri, 21 Mar 2025 06:37:48 +0000 (13:37 +0700)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 21 Mar 2025 06:37:48 +0000 (13:37 +0700)
src/main/mainconfig.c

index 69b47a6be4f2ca69724260d51883c82960cbc643..775aec32ad4408bd417cf0bf3254832334051c06 100644 (file)
@@ -1214,6 +1214,10 @@ do {\
        FR_INTEGER_COND_CHECK("max_request_time", main_config.max_request_time,
                              (main_config.max_request_time != 0), 100);
 
+#ifndef USEC
+#define USEC (1000000)
+#endif
+
        /*
         *      reject_delay can be zero.  OR 1 though 10.
         */