diff --git a/src/dmac/pspdmac.h b/src/dmac/pspdmac.h index f538e380..328e1a80 100644 --- a/src/dmac/pspdmac.h +++ b/src/dmac/pspdmac.h @@ -8,8 +8,15 @@ * Copyright (c) 2016 173210 */ +#ifndef __DMAC_H__ +#define __DMAC_H__ + #include +#ifdef __cplusplus +extern "C" { +#endif + /** * Copy data in memory using DMAC * @@ -22,3 +29,9 @@ int sceDmacMemcpy(void *dst, const void *src, SceSize n); int sceDmacTryMemcpy(void *dst, const void *src, SceSize n); + +#ifdef __cplusplus +} +#endif + +#endif