Ticket #4806: 0002-Removed-dirent.h-from-main.c.patch

File 0002-Removed-dirent.h-from-main.c.patch, 564 bytes (added by cypherpunks, 7 years ago)
  • src/or/main.c

    From 7deccbf9b965004ea6c2099cce68bfe7e735cacc Mon Sep 17 00:00:00 2001
    From: Aki Tuomi <cmouse@cmouse.fi>
    Date: Thu, 23 Aug 2012 23:59:15 +0300
    Subject: [PATCH 2/3] Removed dirent.h from main.c
    
    ---
     src/or/main.c |    4 ----
     1 file changed, 4 deletions(-)
    
    diff --git a/src/or/main.c b/src/or/main.c
    index f9affdb..c2a3859 100644
    a b  
    6363#include <event2/bufferevent.h>
    6464#endif
    6565
    66 #ifdef HAVE_DIRENT_H
    67 #include <dirent.h>
    68 #endif
    69 
    7066void evdns_shutdown(int);
    7167
    7268/********* PROTOTYPES **********/