Changeset 57:b3abe3c77d41 in roaraudio for include/roaraudio.h


Ignore:
Timestamp:
07/12/08 11:12:11 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added some more mlock support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/roaraudio.h

    r56 r57  
    1111#include <sys/types.h> 
    1212#include <limits.h> 
     13#include <sys/mman.h> 
    1314 
    1415#include <arpa/inet.h> 
     
    7778 
    7879#ifdef ROAR_HAVE_MLOCK 
    79 #define ROAR_MLOCK(p,s) mlook((p) - (p) % sysconf(_SC_PAGESIZE), (s)) 
     80#define ROAR_MLOCK(p,s) mlock((p), (s)) 
    8081#endif 
    8182 
Note: See TracChangeset for help on using the changeset viewer.