Use stdint.h, ncurses.h and panel.h instead of netinet/in.h

This commit is contained in:
Nick Law
2018-11-24 00:15:23 +00:00
parent 9b821292ea
commit cd3716f260
5 changed files with 7 additions and 9 deletions

View File

@@ -20,8 +20,7 @@
*
*/
/* Why is this needed? Segfaults without it */
#include <netinet/in.h>
#include <stdint.h>
#include "nwipe.h"
#include "context.h"

View File

@@ -29,8 +29,9 @@
* and things like ncurses libmenu are not worth the storage overhead.
*
*/
/* Why is this needed? Segfaults without it */
#include <netinet/in.h>
#include <ncurses.h>
#include <panel.h>
#include <stdint.h>
#include "nwipe.h"
#include "context.h"

View File

@@ -38,8 +38,7 @@
*
*/
/* Why is this needed? Segfaults without it */
#include <netinet/in.h>
#include <stdint.h>
#include "nwipe.h"
#include "context.h"

View File

@@ -22,7 +22,7 @@
*/
#define _POSIX_SOURCE
#include <netinet/in.h>
#include <stdint.h>
#include <time.h>
#include <signal.h>
#include <pthread.h>

View File

@@ -20,9 +20,8 @@
*
*/
/* Why is this needed? Segfaults without it */
#include <netinet/in.h>
#include <stdint.h>
#include "nwipe.h"
#include "context.h"
#include "method.h"