title: fatal error: openssl/opensslconf.h: No such file or directory
body: <p>I try to compile a C file which decrypts and executes an rc-4 encryped shellcode with virtual alloc.</p>
  
  <p>Now I get an error:</p>
  
  <blockquote>
    <p>"In file included from rc-4.c:2: rc4.h:62:11: fatal error:
    openssl/opensslconf.h: No such file or directory
     #include &lt;openssl/opensslconf.h&gt;/* OPENSSL_NO_RC4, RC4_INT */"</p>
  </blockquote>
  
  <p>My compile command is: 
  i586-mingw32msvc-gcc rc-4.c -o test.exe -lcrypto</p>
  
  <p>At first mingw32 gave me the error that rc-4.h could not be found. 
  I fixed this by copying the rc-4.h in my current directory and included it with  #include "rc-4.h"</p>
  
  <p>the first two lines of the code</p>
  
  <pre><code>```
  #include &lt;windows.h&gt;
  #include "rc4.h"
  ```
  </code></pre>
  
  <p>how the rc-4 shellcode should be decrypted and executed: </p>
  
  <pre><code>int lpBufSize = sizeof(int) * PAYLOADSIZE;
          LPVOID lpBuf = VirtualAlloc(NULL, lpBufSize, MEM_COMMIT, 0x04);
          memset(lpBuf, '\0', lpBufSize);
          RC4(RC4KEY, payload, (char*) lpBuf, PAYLOADSIZE);
          MessageBox(NULL, (char*) lpBuf, "Test", MB_OK);
          return 0;
  </code></pre>
  
  <p>the expected output should be the compiled test.exe file</p>