summaryrefslogtreecommitdiff
path: root/htmldoc/fix_random.diff
blob: 7d5953343137bc990cdec53fb72954351f1db116 (plain)
    1 diff -ru a/htmldoc/http.h b/htmldoc/http.h
    2 --- a/htmldoc/http.h  2014-10-24 12:08:19.063189382 +0200
    3 +++ b/htmldoc/http.h  2014-10-24 12:07:33.583189387 +0200
    4 @@ -16,6 +16,14 @@
    5   */
    6  
    7  #ifndef _CUPS_HTTP_H_
    8 +
    9 +#ifndef CUPS_RAND()
   10 +  #define CUPS_RAND() random()
   11 +#endif
   12 +#ifndef CUPS_SRAND(v)
   13 +  #define CUPS_SRAND(v) srandom(v)
   14 +#endif
   15 +
   16  #  define _CUPS_HTTP_H_
   17  
   18  /*

Generated by cgit