mirror of
https://github.com/martijnvanbrummelen/nwipe.git
synced 2026-02-20 13:42:14 +00:00
Use stdint.h, ncurses.h and panel.h instead of netinet/in.h
This commit is contained in:
@@ -20,8 +20,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Why is this needed? Segfaults without it */
|
#include <stdint.h>
|
||||||
#include <netinet/in.h>
|
|
||||||
|
|
||||||
#include "nwipe.h"
|
#include "nwipe.h"
|
||||||
#include "context.h"
|
#include "context.h"
|
||||||
|
|||||||
@@ -29,8 +29,9 @@
|
|||||||
* and things like ncurses libmenu are not worth the storage overhead.
|
* and things like ncurses libmenu are not worth the storage overhead.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
/* Why is this needed? Segfaults without it */
|
#include <ncurses.h>
|
||||||
#include <netinet/in.h>
|
#include <panel.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "nwipe.h"
|
#include "nwipe.h"
|
||||||
#include "context.h"
|
#include "context.h"
|
||||||
|
|||||||
@@ -38,8 +38,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Why is this needed? Segfaults without it */
|
#include <stdint.h>
|
||||||
#include <netinet/in.h>
|
|
||||||
|
|
||||||
#include "nwipe.h"
|
#include "nwipe.h"
|
||||||
#include "context.h"
|
#include "context.h"
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
*/
|
*/
|
||||||
#define _POSIX_SOURCE
|
#define _POSIX_SOURCE
|
||||||
|
|
||||||
#include <netinet/in.h>
|
#include <stdint.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
|||||||
@@ -20,9 +20,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Why is this needed? Segfaults without it */
|
|
||||||
#include <netinet/in.h>
|
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
#include "nwipe.h"
|
#include "nwipe.h"
|
||||||
#include "context.h"
|
#include "context.h"
|
||||||
#include "method.h"
|
#include "method.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user