#ifdef __cplusplus
extern "C" {
#endif

/*
 * buf: input fuzzing data
 * len: size of the 'buf' data
 *
 * Return value: should return 0
 */
    int LLVMFuzzerTestOneInput(const uint8_t * buf, size_t len);

/*
 * argc: ptr to main's argc
 * argv: ptr to main's argv
 *
 * Return value: ignored
 */
    int LLVMFuzzerInitialize(int *argc, char ***argv);

/*
 *
 * An alternative for LLVMFuzzerTestOneInput()
 *
 * buf_ptr: will be set to input fuzzing data
 * len_ptr: will be set to the size of the input fuzzing data
 */
    void HF_ITER(const uint8_t ** buf_ptr, size_t * len_ptr);

#if defined(__linux__)

/*
 * Enter Linux namespaces
 *
 * cloneFlags: see 'man unshare'
 */
    bool linuxEnterNs(uintptr_t cloneFlags);
/*
 * Bring network interface up
 *
 * ifacename: name of the interface, typically "lo"
 */
    bool linuxIfaceUp(const char *ifacename);
/*
 * Mount tmpfs over a mount point
 *
 * dst: mount point for tmfs
 */
    bool linuxMountTmpfs(const char *dst);

#endif                          /* defined(__linux__) */

#ifdef __cplusplus
}                               /* extern "C" */
#endif

#ifdef __cplusplus
extern "C" {
#endif

/*
 * buf: input fuzzing data
 * len: size of the 'buf' data
 *
 * Return value: should return 0
 */
    int LLVMFuzzerTestOneInput(const uint8_t * buf, size_t len);

/*
 * argc: ptr to main's argc
 * argv: ptr to main's argv
 *
 * Return value: ignored
 */
    int LLVMFuzzerInitialize(int *argc, char ***argv);

/*
 *
 * An alternative for LLVMFuzzerTestOneInput()
 *
 * buf_ptr: will be set to input fuzzing data
 * len_ptr: will be set to the size of the input fuzzing data
 */
    void HF_ITER(const uint8_t ** buf_ptr, size_t * len_ptr);

#if defined(_HF_ARCH_LINUX)

/*
 * Enter Linux namespaces
 *
 * cloneFlags: see 'man unshare'
 */
    bool linuxEnterNs(uintptr_t cloneFlags);
/*
 * Bring network interface up
 *
 * ifacename: name of the interface, typically "lo"
 */
    bool linuxIfaceUp(const char *ifacename);
/*
 * Mount tmpfs over a mount point
 *
 * dst: mount point for tmfs
 */
    bool linuxMountTmpfs(const char *dst);

#endif                          /* defined(_HF_ARCH_LINUX) */

#ifdef __cplusplus
}                               /* extern "C" */
#endif

--- 
+++ 
@@ -27,7 +27,7 @@
  */
     void HF_ITER(const uint8_t ** buf_ptr, size_t * len_ptr);
 
-#if defined(_HF_ARCH_LINUX)
+#if defined(__linux__)
 
 /*
  * Enter Linux namespaces
@@ -48,7 +48,7 @@
  */
     bool linuxMountTmpfs(const char *dst);
 
-#endif                          /* defined(_HF_ARCH_LINUX) */
+#endif                          /* defined(__linux__) */
 
 #ifdef __cplusplus
 }                               /* extern "C" */
Change defined(_HF_ARCH_LINUX) -> defined(__linux__) for public includes
