Skip to content

Commit

Permalink
fix linux/gcc warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mseminatore committed May 8, 2024
1 parent b295780 commit ff8fd4b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ $(TARGET): $(OBJS) main.o
$(CC) $(CFLAGS) -o $@ $^ $(LFLAGS)

clean:
rm $(TARGET) $(LIBNAME) $(OBJS) *.o
rm $(TARGET) $(LIBNAME) $(OBJS) *.o dsk_new dsk_format dsk_add dsk_extract dsk_rename dsk_del
5 changes: 5 additions & 0 deletions dsk.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@

#include <stdint.h>

#ifdef __GNUC__
# include <arpa/inet.h>
#endif


//------------------------------------
// DSK Drive properties
//------------------------------------
Expand Down

0 comments on commit ff8fd4b

Please sign in to comment.