Created
          June 18, 2015 17:26 
        
      - 
      
- 
        Save dougluce/0428d030a5495fb40c66 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | diff --git a/builtin.c b/builtin.c | |
| index 1e3f085..4baf7b6 100644 | |
| --- a/builtin.c | |
| +++ b/builtin.c | |
| @@ -1,10 +1,12 @@ | |
| #define _BSD_SOURCE | |
| #define _XOPEN_SOURCE | |
| #include <sys/time.h> | |
| -#ifdef WIN32 | |
| - #include <malloc.h> | |
| -#else | |
| - #include <alloca.h> | |
| +#ifndef __FreeBSD__ | |
| + #ifdef WIN32 | |
| + #include <malloc.h> | |
| + #else | |
| + #include <alloca.h> | |
| + #endif | |
| #endif | |
| #include <assert.h> | |
| #include <ctype.h> | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment