Skip to content

Commit

Permalink
Removed an unneeded header file that blocked compilation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Peori committed Nov 20, 2010
1 parent 321d0db commit e5ef1a6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions samples/ps3load/source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

#include <zlib.h>
#include <zip.h>
#include <zipint.h>

//#include <dirent.h>
#define DT_DIR 1
Expand Down Expand Up @@ -63,7 +62,7 @@ void DeleteDirectory(const char* path)
int main(int argc, const char* argv[], const char* envp[])
{
printf("PS3Load " PS3LOAD_VERSION "\n");

mkdir(ZIP_PATH, 0777);
DeleteDirectory(ZIP_PATH);

Expand Down Expand Up @@ -97,7 +96,7 @@ int main(int argc, const char* argv[], const char* envp[])
if (read(c, &magic, sizeof(magic)) < 0)
continueloop();
u16 argslen = magic & 0xFFFF;

u32 filesize = 0;
if (read(c, &filesize, sizeof(filesize)) < 0)
continueloop();
Expand Down

0 comments on commit e5ef1a6

Please sign in to comment.